fr.emn.win32input.jwintab
Class JWintab

java.lang.Object
  extended byfr.emn.win32input.jwintab.JWintab

public class JWintab
extends java.lang.Object

This is the main class for interfacing with Wintab API. It provides global information about wintab API, available devices, etc...


Method Summary
static int getContextCount()
          Returns the number of contexts supported.
static int getContextOptions()
          Returns the context options supported.
static int getCursorTypeCount()
          Returns the total number of cursor types supported.
static int getDeviceCount()
          Returns the number of devices supported.
static TabletDevice[] getDevices()
          Returns an array of TabletDevice objects describing the devices.
static int[] getImplementationVersion()
          Returns an array of two integers describing the Wintab implementation version number.
static int getOpenContextCount()
           
static int getOpenSysContextCount()
           
static Domain getScreenDomain(int display)
           
static int[] getSpecificationVersion()
          Returns an array of two integers describing the Wintab specification version number.
static java.lang.String getWintabName()
          Returns a String describing the Wintab API.
static boolean isLibraryPresent()
          The first method you must call.
static boolean isSysPointingAvailable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getContextCount

public static int getContextCount()
Returns the number of contexts supported.


getContextOptions

public static int getContextOptions()
Returns the context options supported.


getCursorTypeCount

public static int getCursorTypeCount()
Returns the total number of cursor types supported.

See Also:
TabletDevice.getCursorTypeCount()

getDeviceCount

public static int getDeviceCount()
Returns the number of devices supported.


getDevices

public static TabletDevice[] getDevices()
Returns an array of TabletDevice objects describing the devices.

See Also:
TabletDevice

getImplementationVersion

public static int[] getImplementationVersion()
Returns an array of two integers describing the Wintab implementation version number. The first integer contains the major version number, the second integer contains the minor version number.


getOpenContextCount

public static int getOpenContextCount()

getOpenSysContextCount

public static int getOpenSysContextCount()

getScreenDomain

public static Domain getScreenDomain(int display)

getSpecificationVersion

public static int[] getSpecificationVersion()
Returns an array of two integers describing the Wintab specification version number. The first integer contains the major version number, the second integer contains the minor version number.


getWintabName

public static java.lang.String getWintabName()
Returns a String describing the Wintab API.


isLibraryPresent

public static boolean isLibraryPresent()
The first method you must call.


isSysPointingAvailable

public static boolean isSysPointingAvailable()