public final class Touch extends Object
touches field of an Event or TouchEvent.TouchEvent,
Sample code and further information| Modifier and Type | Field and Description |
|---|---|
long |
id
The unique identity of the touch.
|
boolean |
primary
A flag indicating that the touch is the first touch from a previous
state of no touch points.
|
TouchSource |
source
The object representing the input source that generated the touch.
|
int |
state
The state of this touch at the time it was generated.
|
int |
x
The x location of the touch in TouchSource coordinates.
|
int |
y
The y location of the touch in TouchSource coordinates.
|
public long id
public TouchSource source
public int state
TouchEvent was generated.public boolean primary
public int x
public int y
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.