public final class TouchSource extends Object
Touchobjects. They also provide information about the input source, which is important for interpreting the information in the
Instances of this class can be marked as direct or indirect:
|Modifier and Type||Method and Description|
Returns the bounding rectangle of the device.
Returns the type of touch input this source generates,
Returns a string containing a concise, human-readable description of the receiver.
public boolean isDirect()
truefor direct or
trueif the input source is direct, or
public Rectangle getBounds()
Note that the x and y values may not necessarily be 0 if the TouchSource is a direct source.
Copyright (c) 2000, 2013 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.