com.maryanovsky.gwtutils.client.ui.touch.gestures.buttontap
Class ButtonTapEvent
java.lang.Object
com.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<H>
com.maryanovsky.gwtutils.client.event.SyntheticEvent<H,E>
com.maryanovsky.gwtutils.client.ui.touch.gestures.SyntheticTouchGestureEvent<ButtonTapHandler,TouchEndEvent>
com.maryanovsky.gwtutils.client.ui.touch.gestures.buttontap.ButtonTapEvent
public class ButtonTapEvent
- extends SyntheticTouchGestureEvent<ButtonTapHandler,TouchEndEvent>
Represents a button-tap event.
- Author:
- Maryanovsky Alexander
Methods inherited from class com.google.web.bindery.event.shared.Event |
setSource, toDebugString, toString |
ButtonTapEvent
public ButtonTapEvent(TouchEndEvent evt)
- Creates a new
ButtonTapEvent
from the specified source
TouchEndEvent
.
- Parameters:
evt
- The touch end event that triggered this event.
getType
public static GwtEvent.Type<ButtonTapHandler> getType()
- Returns the event type associated with button-tap events.
getAssociatedType
public GwtEvent.Type<ButtonTapHandler> getAssociatedType()
- Returns the event type associated with button-tap events.
- Overrides:
getAssociatedType
in class GwtEvent<ButtonTapHandler>
dispatch
protected void dispatch(ButtonTapHandler handler)
- Dispatches the event to the handler.
- Specified by:
dispatch
in class GwtEvent<ButtonTapHandler>