Class SwipeMoveEvent

    • Constructor Detail

      • SwipeMoveEvent

        public SwipeMoveEvent​(TouchCopy touch,
                              boolean distanceReached,
                              int distance,
                              SwipeEvent.DIRECTION direction)
        Construct a SwipeMoveEvent
        Parameters:
        touch -
        distanceReached - is the minimum distance reached for this swipe
        distance - the distance in px
        direction - the direction of the swipe
    • Method Detail

      • getType

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

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

        public int getDistance()
        the distance of this swipe
        Returns:
        the distance of this swipe in px
      • isDistanceReached

        public boolean isDistanceReached()
        is the minimum distance reached
        Returns:
        true if the minimum distance reached