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

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

The newest version!
package com.sksamuel.jqm4gwt.events;

/**
 * Constants that map to JQM component events.
 * See http://api.jquerymobile.com/category/events/
 *
 * @author Andrei Costescu [email protected] 31 Oct 2013
 */
public interface JQMComponentEvents {

	// TODO: add all other JQM component event types & implement them (currently only TAP_EVENT
    // is implemented, TAP_HOLD_EVENT is not yet made available on components, but is implemented);
    // ! Not sure we should add all events to components, it's highly questionable.
	// Maybe we should add all these events to JQMWidget directly, although some might not make
    // sense for all widgets - instead of doing it like GWT does with one interface for each event
    // type depending on component (JQM documentation doesn't say for which component type each one is meant anyway)

	String TAP_EVENT = "tap";
	String TAP_HOLD_EVENT = "taphold";
	String VCLICK = "vclick";
	String CHANGE = "change";
	String INPUT = "input";
	String ORIENTATIONCHANGE = "orientationchange";

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy