| Modifier and Type | Class and Description |
|---|---|
static interface |
WacomUtils.TabletProc |
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
static int |
DVC_NPRESSURE |
static int |
DVC_ORIENTATION |
static int |
DVC_ROTATION |
static int |
DVC_TPRESSURE |
static int |
DVC_X |
static int |
DVC_Y |
static int |
DVC_Z |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
WacomUtils() |
WacomUtils(WacomCallback wCallback) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close session with wacom Tablet PC
|
Wintab32.PACKET |
getOnePacket()
Get single packet, discard 3
|
Wintab32.PACKET |
getPacket()
Get single packet
|
int |
getPackets(int number,
Wintab32.PACKET[] arr)
Get n packets
|
boolean |
isDataSupported(int dataTypeId)
Determine if a particular type of data can be retrieved or not
|
void |
open()
Open session with wacom Tablet PC
|
void |
run()
Run method
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic static final int DVC_X
public static final int DVC_Y
public static final int DVC_Z
public static final int DVC_NPRESSURE
public static final int DVC_TPRESSURE
public static final int DVC_ORIENTATION
public static final int DVC_ROTATION
public WacomUtils()
public WacomUtils(WacomCallback wCallback)
public void open()
public void close()
public Wintab32.PACKET getPacket()
public Wintab32.PACKET getOnePacket()
public int getPackets(int number,
Wintab32.PACKET[] arr)
number - the maximal number of packets to be retrievedarr - the array where packets have to be savedpublic void run()
public boolean isDataSupported(int dataTypeId)
datatype - the type representing the dataCopyright © 2007-2012 Global Information Systems Group, ETH Zurich. All Rights Reserved.