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

com.sksamuel.jqm4gwt.events.TapHoldEvent Maven / Gradle / Ivy

package com.sksamuel.jqm4gwt.events;

import com.google.gwt.core.client.JavaScriptObject;

/**
 * Represents a JQM tap hold event.
 *
 * @author Andrei Costescu [email protected] 31 Oct 2013
 */
public class TapHoldEvent extends JQMEvent {

	/**
	 * Event type for tap hold events. Represents the meta-data associated with this event.
	 */
	private static Type TYPE = null;

	/**
	 * Gets the event handler type associated with tap hold events.
	 */
	public static Type getType() {
		if (TYPE == null) TYPE = new Type();
		return TYPE;
	}

	protected TapHoldEvent(JavaScriptObject jQueryEvent) {
		super(jQueryEvent, getType());
	}

	@Override
	protected void dispatch(TapHoldHandler handler) {
		handler.onTapHold(this);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy