|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PenTipListener
This interface must be implemented by any class that wishes to receive pen tip events from the system. These include:
| Method Summary | |
|---|---|
void |
doubleTap(long time,
int x,
int y)
Called when the user performs a double tap. |
void |
penDown(long time,
Region region,
PageInstance page)
Called when the user presses the pen on the page. |
void |
penUp(long time,
Region region,
PageInstance page)
Called when the user lifts the pen. |
void |
singleTap(long time,
int x,
int y)
Called when the user performs a single tap. |
| Method Detail |
|---|
void penUp(long time,
Region region,
PageInstance page)
time - the system time of the eventregion - the region in which the pen was liftedpage - the page where the event occurred
void penDown(long time,
Region region,
PageInstance page)
time - the system time of the eventregion - the region in which the pen was put downpage - the page where the event occurred
void singleTap(long time,
int x,
int y)
Note that single-taps will also appear as strokes.
time - the system time of the eventx - the X-coordinate of the tapy - the Y-coordinate of the tap
void doubleTap(long time,
int x,
int y)
Note that double-taps will also appear as strokes.
time - the system time of the eventx - the X-coordinate of the double tapy - the Y-coordinate of the double tap
|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||