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, isSupported
isAltKeyDown, isControlKeyDown, isMetaKeyDown, isShiftKeyDown
fireNativeEvent, fireNativeEvent, getNativeEvent, getRelativeElement, preventDefault, setNativeEvent, setRelativeElement, stopPropagation
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
protected 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()
Event
Event.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)
GwtEvent
HandlerManager
. In other words, do not use
or call.dispatch
in class GwtEvent<TouchStartHandler>
handler
- handlerEventBus.dispatchEvent(Event, Object)
Copyright © 2016. All rights reserved.