public class SwipeStartEvent extends SwipeEvent<SwipeStartHandler>
SwipeStartEvent
is fired when the user moves his finger over a
certain amount on the displaySwipeEvent.DIRECTION
Constructor and Description |
---|
SwipeStartEvent(Touch touch,
int distance,
SwipeEvent.DIRECTION direction)
Construct a
SwipeStartEvent |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(SwipeStartHandler handler) |
com.google.gwt.event.shared.GwtEvent.Type<SwipeStartHandler> |
getAssociatedType() |
int |
getDistance()
The distance the finger moved before the event occured
|
Touch |
getTouch() |
static com.google.gwt.event.shared.GwtEvent.Type<SwipeStartHandler> |
getType() |
getDirection
assertLive, getSource, isLive, kill, revive
public SwipeStartEvent(Touch touch, int distance, SwipeEvent.DIRECTION direction)
SwipeStartEvent
distance
- the distance the finger already movedj
- i
- direction
- the direction of the fingerpublic static com.google.gwt.event.shared.GwtEvent.Type<SwipeStartHandler> getType()
public com.google.gwt.event.shared.GwtEvent.Type<SwipeStartHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<SwipeStartHandler>
public int getDistance()
protected void dispatch(SwipeStartHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<SwipeStartHandler>
public Touch getTouch()
Copyright © 2021 Magnolia International Ltd.. All rights reserved.