|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zk.ui.event.Event org.zkoss.zk.ui.event.SwipeEvent
public class SwipeEvent
Represents an event that indicates swipe on a component and provides information about the swipe displacement, duration and direction.
Constructor Summary | |
---|---|
SwipeEvent(java.lang.String name,
Component target,
int swipeX,
int swipeY,
int swipeTime,
java.lang.String swipeDir)
|
Method Summary | |
---|---|
java.lang.String |
getSwipeDirection()
Returns the swipe direction(left/right/up/down) relevant to the component. |
int |
getSwipeDuration()
Returns the swipe duration(milliseconds) relevant to the component. |
static SwipeEvent |
getSwipeEvent(AuRequest request)
|
int |
getSwipeX()
Returns the horizontal swipe displacement relevant to the component. |
int |
getSwipeY()
Returns the vertical swipe displacement relevant to the component. |
Methods inherited from class org.zkoss.zk.ui.event.Event |
---|
getData, getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SwipeEvent(java.lang.String name, Component target, int swipeX, int swipeY, int swipeTime, java.lang.String swipeDir)
Method Detail |
---|
public static final SwipeEvent getSwipeEvent(AuRequest request)
public int getSwipeX()
public int getSwipeY()
public int getSwipeDuration()
public java.lang.String getSwipeDirection()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |