|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPointingDevice
Method Summary | |
---|---|
void |
calibrate(int x0,
int y0,
int x1,
int y1,
int x2,
int y2,
int x3,
int y3)
used to calibrate the touchscreen by the 4 corner-points of touch
|
int |
getRawX()
used to calibrate the touchscreen |
int |
getRawY()
used to calibrate the touchscreen |
int |
getX()
Returns the x-coordinate of the (last) touch. |
int |
getY()
Returns the y-coordinate of the (last) touch. |
boolean |
isPressed()
Returns true if touch is pressed. |
Method Detail |
---|
boolean isPressed()
int getX()
int getY()
void calibrate(int x0, int y0, int x1, int y1, int x2, int y2, int x3, int y3)
(x0,y0) (x1,y1)
+------------------------+
| |
| |
| |
| |
| |
+------------------------+
(x3,y3) (x2,y2)
int getRawX()
int getRawY()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |