Class SwipeStartEvent

    • Constructor Detail

      • SwipeStartEvent

        public SwipeStartEvent​(TouchCopy touch,
                               int distance,
                               SwipeEvent.DIRECTION direction)
        Construct a SwipeStartEvent
        Parameters:
        distance - the distance the finger already moved
        touch -
        direction - the direction of the finger
    • Method Detail

      • getType

        public static com.google.gwt.event.shared.GwtEvent.Type<SwipeStartHandler> getType()
      • getAssociatedType

        public com.google.gwt.event.shared.GwtEvent.Type<SwipeStartHandler> getAssociatedType()
        Specified by:
        getAssociatedType in class com.google.gwt.event.shared.GwtEvent<SwipeStartHandler>
      • getDistance

        public int getDistance()
        The distance the finger moved before the event occured
        Returns:
        the distance in px