|
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
public class PaperEvent
Provides support for all paper-related events. These include:
It's worth a note here to describe why all of these events are classified as "paper" events. The pen does not register anything unless it is used on a dot pattern printed on some medium, for example stickers, notebooks, laminated pages, surfaces, etc. This means that no events occur unless dot paper is used.
In other words, it is the paper that causes the pen's use to mean anything. In retrospect, a better name might have been, "Dot Paper" or "Dot Pattern" event.
PenTipListener,
RegionEnterExitListener,
StrokeListener,
PaperListener| Field Summary | |
|---|---|
Region |
areaId
The region object. |
PageInstance |
pageInstance
The page object. |
static int |
PE_AREAENTER
The area enter event. |
static int |
PE_AREAEXIT
The area exit event. |
static int |
PE_COORDINATE
|
static int |
PE_NEWDOCUMENT
The new document event. |
static int |
PE_NEWPAGE
The new page event. |
static int |
PE_PENDOWN
The pen down event. |
static int |
PE_PENUP
The pen up event. |
static int |
PE_STROKE
The stroke event. |
| Fields inherited from class com.livescribe.event.PenletEvent |
|---|
size, time |
| Fields inherited from class com.livescribe.event.Event |
|---|
consumed, eventId |
| Method Summary | |
|---|---|
int |
getCopy()
Gets the page instance's copy number. |
int |
getPage()
Gets the page's page number. |
PageInstance |
getPageInstance()
Gets the page object. |
Region |
getRegion()
Gets the region object. |
protected String |
toDate()
Returns the empty string. |
String |
toString()
Returns a string representation of this event. |
| 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 PE_AREAENTER
public static final int PE_AREAEXIT
public static final int PE_STROKE
public static final int PE_COORDINATE
public static final int PE_PENDOWN
public static final int PE_PENUP
public static final int PE_NEWPAGE
public static final int PE_NEWDOCUMENT
public final PageInstance pageInstance
public final Region areaId
| Method Detail |
|---|
public PageInstance getPageInstance()
public Region getRegion()
public String toString()
toString in class PenletEventpublic int getCopy()
PageInstance.getCopy()public int getPage()
PageInstance.getPage()protected final String toDate()
toDate in class PenletEvent
|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||