|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fr.emn.win32input.jwintab.TabletPacket
Field Summary | |
static int |
BUT_DOWN
|
static int |
BUT_NONE
|
static int |
BUT_UP
|
Method Summary | |
java.lang.String |
buttonsToString()
For debug |
int[] |
getButtonEvent()
Returns a button event, or null if nothing has changed. |
int |
getChangedDimensions()
|
TabletContext |
getContext()
|
TabletCursor |
getCursor()
|
int |
getCursorNumber()
Returns the cursor number (NOT the cursor index) this event describes. |
int |
getValue(int dimension)
Returns the new value of a dimension. |
long |
getWhen()
|
boolean |
hasChanged(int dimension)
Returns whether a given (single) dimension has changed. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int BUT_NONE
public static final int BUT_DOWN
public static final int BUT_UP
Method Detail |
public java.lang.String buttonsToString()
public int[] getButtonEvent()
The first int is the index of the button. The second int is the change in the button: BUT_NONE, BUT_DOWN, or BUT_UP.
public int getChangedDimensions()
public TabletContext getContext()
public TabletCursor getCursor()
public int getCursorNumber()
public int getValue(int dimension)
dimension
- a single dimension.public long getWhen()
public boolean hasChanged(int dimension)
dimension
- a single dimension.public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |