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

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

The newest version!
package eu.future.earth.gwt.client.date;

import com.google.gwt.user.client.rpc.AsyncCallback;

import eu.future.earth.gwt.client.date.DateEvent.DateEventActions;

public abstract class EeEventCallBackHandler implements AsyncCallback {

	private DatePanel view = null;

	private T data = null;

	public EeEventCallBackHandler(DatePanel view, T theData) {
		super();
		this.view = view;
		data = theData;
	}

	public T getData() {
		return data;
	}

	public DatePanel getView() {
		return view;
	}

	public void sendNotificationEvent(DateEventActions action, boolean reload) {
		view.notifyReady(action, data, reload);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy