com.maryanovsky.gwtutils.client.ui.touch.gestures.buttontap
Class ButtonTapEvent

java.lang.Object
  extended by com.google.web.bindery.event.shared.Event<H>
      extended by com.google.gwt.event.shared.GwtEvent<H>
          extended by com.maryanovsky.gwtutils.client.event.SyntheticEvent<H,E>
              extended by com.maryanovsky.gwtutils.client.ui.touch.gestures.SyntheticTouchGestureEvent<ButtonTapHandler,TouchEndEvent>
                  extended by com.maryanovsky.gwtutils.client.ui.touch.gestures.buttontap.ButtonTapEvent

public class ButtonTapEvent
extends SyntheticTouchGestureEvent<ButtonTapHandler,TouchEndEvent>

Represents a button-tap event.

Author:
Maryanovsky Alexander

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
GwtEvent.Type<H>
 
Constructor Summary
ButtonTapEvent(TouchEndEvent evt)
          Creates a new ButtonTapEvent from the specified source TouchEndEvent.
 
Method Summary
protected  void dispatch(ButtonTapHandler handler)
          Dispatches the event to the handler.
 GwtEvent.Type<ButtonTapHandler> getAssociatedType()
          Returns the event type associated with button-tap events.
static GwtEvent.Type<ButtonTapHandler> getType()
          Returns the event type associated with button-tap events.
 
Methods inherited from class com.maryanovsky.gwtutils.client.event.SyntheticEvent
getSourceEvent
 
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, getSource, isLive, kill, revive
 
Methods inherited from class com.google.web.bindery.event.shared.Event
setSource, toDebugString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ButtonTapEvent

public ButtonTapEvent(TouchEndEvent evt)
Creates a new ButtonTapEvent from the specified source TouchEndEvent.

Parameters:
evt - The touch end event that triggered this event.
Method Detail

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>