public class SwipeMoveEvent extends SwipeEvent<SwipeMoveHandler>
SwipeMoveEvent
occurs when the user moves his finger over the
displaySwipeEvent.DIRECTION
Constructor and Description |
---|
SwipeMoveEvent(Touch touch,
boolean distanceReached,
int distance,
SwipeEvent.DIRECTION direction)
Construct a
SwipeMoveEvent |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(SwipeMoveHandler handler) |
com.google.gwt.event.shared.GwtEvent.Type<SwipeMoveHandler> |
getAssociatedType() |
int |
getDistance()
the distance of this swipe
|
Touch |
getTouch() |
static com.google.gwt.event.shared.GwtEvent.Type<SwipeMoveHandler> |
getType() |
boolean |
isDistanceReached()
is the minimum distance reached
|
getDirection
assertLive, getSource, isLive, kill, revive
public SwipeMoveEvent(Touch touch, boolean distanceReached, int distance, SwipeEvent.DIRECTION direction)
SwipeMoveEvent
touch
- distanceReached
- is the minimum distance reached for this swipedistance
- the distance in pxdirection
- the direction of the swipepublic static com.google.gwt.event.shared.GwtEvent.Type<SwipeMoveHandler> getType()
public com.google.gwt.event.shared.GwtEvent.Type<SwipeMoveHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<SwipeMoveHandler>
protected void dispatch(SwipeMoveHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<SwipeMoveHandler>
public int getDistance()
public boolean isDistanceReached()
public Touch getTouch()
Copyright © 2016 Magnolia International Ltd.. All rights reserved.