|
Eclipse Remote Application Platform | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.swt.widgets.TouchSource
public final class TouchSource
Instances of this class represent sources of touch input that generate Touch objects.
They also provide information about the input source, which is important for interpreting the
information in the Touch object.
Instances of this class can be marked as direct or indirect:
Touch,
Sample code and further information| Method Summary | |
|---|---|
Rectangle |
getBounds()
Returns the bounding rectangle of the device. |
boolean |
isDirect()
Returns the type of touch input this source generates, true for direct or false for indirect. |
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 |
| Method Detail |
|---|
public boolean isDirect()
true for direct or false for indirect.
true if the input source is direct, or false otherwisepublic Rectangle getBounds()
Note that the x and y values may not necessarily be zero if the TouchSource is a direct source.
public java.lang.String toString()
toString in class java.lang.Object
|
Eclipse Remote Application Platform | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) EclipseSource and others 2002, 2014. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0