eu.future.earth.gwt.client.date.horizontal.EeEventCallBackHandler Maven / Gradle / Ivy
package eu.future.earth.gwt.client.date.horizontal;
import com.google.gwt.user.client.rpc.AsyncCallback;
import eu.future.earth.gwt.client.date.DateEvent.DateEventActions;
public abstract class EeEventCallBackHandler implements AsyncCallback {
private HorizontalViewPanelNoDays view = null;
private T data = null;
public EeEventCallBackHandler(HorizontalViewPanelNoDays view, T theData) {
super();
this.view = view;
data = theData;
}
public T getData() {
return data;
}
public HorizontalViewPanelNoDays getView() {
return view;
}
public void notifyOfChange(DateEventActions action, boolean reload) {
view.notifyReady(action, data, reload);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy