public static enum PButton.Type extends java.lang.Enum<PButton.Type>
Enum Constant and Description |
---|
ALT |
CENTER |
CONTROL |
CUSTOM |
LEFT |
ON_PRESSURE
Used whenever the
Pen PLevel.Type.PRESSURE level value changes from/to 0. |
RIGHT |
SHIFT |
Modifier and Type | Field and Description |
---|---|
static java.util.List<PButton.Type> |
ALL_VALUES |
static java.util.List<PButton.Type> |
VALUES |
Modifier and Type | Method and Description |
---|---|
PButton.TypeGroup |
getGroup() |
static PButton.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PButton.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PButton.Type LEFT
public static final PButton.Type CENTER
public static final PButton.Type RIGHT
public static final PButton.Type ON_PRESSURE
Pen
PLevel.Type.PRESSURE
level value changes from/to 0.public static final PButton.Type CONTROL
public static final PButton.Type SHIFT
public static final PButton.Type ALT
public static final PButton.Type CUSTOM
public static final java.util.List<PButton.Type> ALL_VALUES
public static final java.util.List<PButton.Type> VALUES
public static PButton.Type[] values()
for (PButton.Type c : PButton.Type.values()) System.out.println(c);
public static PButton.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 nullpublic PButton.TypeGroup getGroup()