JTablet 1.2.0 API

cello.jtablet
Enum DriverStatus.State

java.lang.Object
  extended by java.lang.Enum<DriverStatus.State>
      extended by cello.jtablet.DriverStatus.State
All Implemented Interfaces:
Serializable, Comparable<DriverStatus.State>
Enclosing class:
DriverStatus

public static enum DriverStatus.State
extends Enum<DriverStatus.State>

A generalized state of the native tablet driver.

Author:
marcello

Enum Constant Summary
LOADED
          Successfully loaded a native driver.
NATIVE_EXCEPTION
          A exception occurred loading the native library.
NOT_INSTALLED
          JTablet isn't installed on this system.
UNEXPECTED_EXCEPTION
          Some other exception occurred loading the native driver.
UNSUPPORTED_OS
          JTablet isn't able to handle the given OS.
 
Method Summary
static DriverStatus.State valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DriverStatus.State[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LOADED

public static final DriverStatus.State LOADED
Successfully loaded a native driver.


NATIVE_EXCEPTION

public static final DriverStatus.State NATIVE_EXCEPTION
A exception occurred loading the native library. This can happen if the native libraries cannot be found, or if some linked library required by the native code cannot be found (e.g. wintab32.dll not available).


UNEXPECTED_EXCEPTION

public static final DriverStatus.State UNEXPECTED_EXCEPTION
Some other exception occurred loading the native driver.


UNSUPPORTED_OS

public static final DriverStatus.State UNSUPPORTED_OS
JTablet isn't able to handle the given OS.


NOT_INSTALLED

public static final DriverStatus.State NOT_INSTALLED
JTablet isn't installed on this system.

Method Detail

values

public static DriverStatus.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (DriverStatus.State c : DriverStatus.State.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DriverStatus.State valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

JTablet 1.2.0 API