Errai 3.0.1-SNAPSHOT

org.jboss.errai.ui.cordova.events.touch.swipe
Class SwipeEvent<H extends com.google.gwt.event.shared.EventHandler>

java.lang.Object
  extended by com.google.web.bindery.event.shared.Event<H>
      extended by com.google.gwt.event.shared.GwtEvent<H>
          extended by org.jboss.errai.ui.cordova.events.touch.swipe.SwipeEvent<H>
Type Parameters:
H - Handler type of the event
Direct Known Subclasses:
SwipeEndEvent, SwipeMoveEvent, SwipeStartEvent

public abstract class SwipeEvent<H extends com.google.gwt.event.shared.EventHandler>
extends com.google.gwt.event.shared.GwtEvent<H>

base class for all swipte events

Author:
Daniel Kurka

Nested Class Summary
static class SwipeEvent.Direction
           
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
com.google.gwt.event.shared.GwtEvent.Type<H>
 
Constructor Summary
SwipeEvent(SwipeEvent.Direction direction)
          Construct a swipe event with a given direction
 
Method Summary
 SwipeEvent.Direction getDirection()
          the direction of the event
 
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, dispatch, getAssociatedType, 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

SwipeEvent

public SwipeEvent(SwipeEvent.Direction direction)
Construct a swipe event with a given direction

Parameters:
direction - the direction to use
Method Detail

getDirection

public SwipeEvent.Direction getDirection()
the direction of the event

Returns:
the direction

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.