public class TouchCancelEvent extends TouchEvent<TouchCancelHandler>
DomEvent.Type<H extends EventHandler>
Modifier | Constructor and Description |
---|---|
protected |
TouchCancelEvent()
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(TouchCancelHandler handler)
Should only be called by
HandlerManager . |
DomEvent.Type<TouchCancelHandler> |
getAssociatedType()
Returns the
Event.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class. |
static DomEvent.Type<TouchCancelHandler> |
getType()
Gets the event type associated with touch start events.
|
getChangedTouches, getTargetTouches, getTouches, isSupported
isAltKeyDown, isControlKeyDown, isMetaKeyDown, isShiftKeyDown
fireNativeEvent, fireNativeEvent, getNativeEvent, getRelativeElement, init, preventDefault, setNativeEvent, setRelativeElement, stopPropagation
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
protected TouchCancelEvent()
DomEvent.fireNativeEvent(com.google.gwt.dom.client.NativeEvent,
com.google.gwt.event.shared.HasHandlers)
to fire touch start events.public static DomEvent.Type<TouchCancelHandler> getType()
public final DomEvent.Type<TouchCancelHandler> getAssociatedType()
Event
Event.Type
used to register this event, allowing an
EventBus
to find handlers of the appropriate class.getAssociatedType
in class DomEvent<TouchCancelHandler>
protected void dispatch(TouchCancelHandler handler)
GwtEvent
HandlerManager
. In other words, do not use
or call.dispatch
in class GwtEvent<TouchCancelHandler>
handler
- handlerEventBus.dispatchEvent(Event, Object)