|
Eclipse Rich Ajax Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.swt.widgets.Touch
public final class Touch
Instances of this class are created in response to a
touch-based input device being touched. They are found
in the touches
field of an Event or TouchEvent.
TouchEvent
,
Sample code and further informationField Summary | |
---|---|
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 |
Method Summary | |
---|---|
java.lang.String |
toString()
Returns a string containing a concise, human-readable description of the receiver. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public long id
public TouchSource source
public int state
TouchEvent
was generated.
SWT.TOUCHSTATE_DOWN
,
SWT.TOUCHSTATE_MOVE
,
SWT.TOUCHSTATE_UP
public boolean primary
public int x
public int y
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
Eclipse Rich Ajax Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) EclipseSource and others 2002, 2012. All rights reserved.