|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.livescribe.event.Event
com.livescribe.event.PenletEvent
com.livescribe.event.PaperEvent
com.livescribe.event.PenTipEvent
public class PenTipEvent
This event type provides support for pen tip events.
Note that double- and single-taps will also appear as strokes.
Note also that the PE_XXX fields are not used with
this event. Use the PEN_TIP_xxx fields from this
class.
PenTipListener| Field Summary | |
|---|---|
static int |
PEN_TIP_DOUBLE_TAP
The double tap event. |
static int |
PEN_TIP_FIRST_ID
The first number in the range of ID's used for this event. |
static int |
PEN_TIP_LAST_ID
The last number in the range of ID's used for this event. |
static int |
PEN_TIP_PEN_DOWN
The pen down event. |
static int |
PEN_TIP_PEN_UP
The pen up event. |
static int |
PEN_TIP_SINGLE_TAP
The single tap event. |
| Fields inherited from class com.livescribe.event.PaperEvent |
|---|
areaId, pageInstance, PE_AREAENTER, PE_AREAEXIT, PE_COORDINATE, PE_NEWDOCUMENT, PE_NEWPAGE, PE_PENDOWN, PE_PENUP, PE_STROKE |
| Fields inherited from class com.livescribe.event.PenletEvent |
|---|
size, time |
| Fields inherited from class com.livescribe.event.Event |
|---|
consumed, eventId |
| Constructor Summary | |
|---|---|
PenTipEvent(int id,
long time,
PageInstance page,
Region region,
int x,
int y)
Creates a new pen tip event using the specified parameters. |
|
| Method Summary | |
|---|---|
int |
getX()
Gets the X-coordinate for single- and double-taps. |
int |
getY()
Gets the Y-coordinate for single- and double-taps. |
| Methods inherited from class com.livescribe.event.PaperEvent |
|---|
getCopy, getPage, getPageInstance, getRegion, toDate, toString |
| Methods inherited from class com.livescribe.event.PenletEvent |
|---|
getTime |
| Methods inherited from class com.livescribe.event.Event |
|---|
consume, getId, isConsumed |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int PEN_TIP_FIRST_ID
public static final int PEN_TIP_LAST_ID
public static final int PEN_TIP_PEN_DOWN
public static final int PEN_TIP_PEN_UP
public static final int PEN_TIP_SINGLE_TAP
public static final int PEN_TIP_DOUBLE_TAP
| Constructor Detail |
|---|
public PenTipEvent(int id,
long time,
PageInstance page,
Region region,
int x,
int y)
null or zero.
id - the event IDtime - the event timepage - the page object, may be nullregion - the region object, may be nullx - the X-coordinatey - the Y-coordinate| Method Detail |
|---|
public int getX()
public int getY()
|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||