public class TouchStartEvent extends TouchEvent<TouchStartHandler>
DomEvent.Type<H extends EventHandler>| Modifier | Constructor and Description |
|---|---|
protected |
TouchStartEvent()
Protected constructor, use
DomEvent.fireNativeEvent(com.google.gwt.dom.client.NativeEvent,
com.google.gwt.event.shared.HasHandlers) to fire touch start events. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(TouchStartHandler handler)
Should only be called by
HandlerManager. |
DomEvent.Type<TouchStartHandler> |
getAssociatedType()
Returns the
Event.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class. |
static DomEvent.Type<TouchStartHandler> |
getType()
Gets the event type associated with touch start events.
|
getChangedTouches, getTargetTouches, getTouches, isSupportedisAltKeyDown, isControlKeyDown, isMetaKeyDown, isShiftKeyDownfireNativeEvent, fireNativeEvent, getNativeEvent, getRelativeElement, init, preventDefault, setNativeEvent, setRelativeElement, stopPropagationassertLive, getSource, isLive, kill, revivesetSource, toDebugString, toStringprotected TouchStartEvent()
DomEvent.fireNativeEvent(com.google.gwt.dom.client.NativeEvent,
com.google.gwt.event.shared.HasHandlers) to fire touch start events.public static DomEvent.Type<TouchStartHandler> getType()
public final DomEvent.Type<TouchStartHandler> getAssociatedType()
EventEvent.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class.getAssociatedType in class DomEvent<TouchStartHandler>protected void dispatch(TouchStartHandler handler)
GwtEventHandlerManager. In other words, do not use
or call.dispatch in class GwtEvent<TouchStartHandler>handler - handlerEventBus.dispatchEvent(Event, Object)