Public Constructors | |
---|---|
ControlTouchEvent(int action, long timeStamp, int x, int y)
Create touch event. |
Public Methods | |
---|---|
int |
getAction()
Get the touch event action. |
long |
getTimeStamp()
Get the touch event time stamp. |
int |
getX()
Get the touch event x position. |
int |
getY()
Get the touch event y position. |
Create touch event.
action | Touch action. |
---|---|
timeStamp | The time when the event occurred. |
x | The x position. |
y | The y position. |
Get the touch event action.
The action.
Get the touch event time stamp.
The time stamp.
Get the touch event x position.
The x position.
Get the touch event y position.
The y position.
The control touch event class holds information about a touch event.