public class GestureStartEvent extends DomEvent<GestureStartHandler>
DomEvent.Type<H extends EventHandler>
Modifier | Constructor and Description |
---|---|
protected |
GestureStartEvent()
Protected constructor, use
DomEvent.fireNativeEvent(com.google.gwt.dom.client.NativeEvent,
com.google.gwt.event.shared.HasHandlers) to fire gesture start events. |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(GestureStartHandler handler)
Should only be called by
HandlerManager . |
DomEvent.Type<GestureStartHandler> |
getAssociatedType()
Returns the
Event.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class. |
double |
getRotation() |
double |
getScale() |
static DomEvent.Type<GestureStartHandler> |
getType()
Gets the event type associated with gesture start events.
|
fireNativeEvent, fireNativeEvent, getNativeEvent, getRelativeElement, preventDefault, setNativeEvent, setRelativeElement, stopPropagation
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
protected GestureStartEvent()
DomEvent.fireNativeEvent(com.google.gwt.dom.client.NativeEvent,
com.google.gwt.event.shared.HasHandlers)
to fire gesture start events.public static DomEvent.Type<GestureStartHandler> getType()
public final DomEvent.Type<GestureStartHandler> getAssociatedType()
Event
Event.Type
used to register this event, allowing an
EventBus
to find handlers of the appropriate class.getAssociatedType
in class DomEvent<GestureStartHandler>
public double getRotation()
public double getScale()
protected void dispatch(GestureStartHandler handler)
GwtEvent
HandlerManager
. In other words, do not use
or call.dispatch
in class GwtEvent<GestureStartHandler>
handler
- handlerEventBus.dispatchEvent(Event, Object)
Copyright © 2016. All rights reserved.