com.sksamuel.jqm4gwt.events.TapEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jqm4gwt-standalone Show documentation
Show all versions of jqm4gwt-standalone Show documentation
jqm4gwt bundled with all of its dependencies
The newest version!
package com.sksamuel.jqm4gwt.events;
import com.google.gwt.core.client.JavaScriptObject;
/**
* Represents a JQM tap event.
*
* @author Andrei Costescu [email protected] 31 Oct 2013
*/
public class TapEvent extends JQMEvent {
/**
* Event type for tap events. Represents the meta-data associated with this event.
*/
private static Type TYPE = null;
/**
* Gets the event handler type associated with tap events.
*/
public static Type getType() {
if (TYPE == null) TYPE = new Type();
return TYPE;
}
protected TapEvent(JavaScriptObject jQueryEvent) {
super(jQueryEvent, getType());
}
@Override
protected void dispatch(TapHandler handler) {
handler.onTap(this);
}
}