Class SwipeEvent<H extends com.google.gwt.event.shared.EventHandler>

  • 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
    • 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