public class SwipeEvent extends Event
Constructor and Description |
---|
SwipeEvent(java.lang.String name,
Component target,
int swipeX,
int swipeY,
int swipeTime,
java.lang.String swipeDir) |
Modifier and Type | Method and Description |
---|---|
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.
|
getData, getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation, toString
public SwipeEvent(java.lang.String name, Component target, int swipeX, int swipeY, int swipeTime, java.lang.String swipeDir)
public static final SwipeEvent getSwipeEvent(AuRequest request)
public int getSwipeX()
public int getSwipeY()
public int getSwipeDuration()
public java.lang.String getSwipeDirection()
Copyright © 2005-2023 Potix Corporation. All Rights Reserved.