All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eu.future.earth.gwt.client.date.horizontal.EeEventCallBackHandler Maven / Gradle / Ivy

There is a newer version: 3.3
Show newest version
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