public static enum PKind.Type extends java.lang.Enum<PKind.Type>
Enum Constant and Description |
---|
CURSOR |
CUSTOM |
ERASER |
IGNORE
Used for devices that does not identify the pen, rater extend it, like the pad.
|
STYLUS |
Modifier and Type | Field and Description |
---|---|
static java.util.List<PKind.Type> |
ALL_VALUES |
static java.util.List<PKind.Type> |
VALUES |
Modifier and Type | Method and Description |
---|---|
static PKind.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PKind.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PKind.Type CURSOR
public static final PKind.Type STYLUS
public static final PKind.Type ERASER
public static final PKind.Type IGNORE
public static final PKind.Type CUSTOM
public static final java.util.List<PKind.Type> ALL_VALUES
public static final java.util.List<PKind.Type> VALUES
public static PKind.Type[] values()
for (PKind.Type c : PKind.Type.values()) System.out.println(c);
public static PKind.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null