public static enum Control.ClickStates extends java.lang.Enum<Control.ClickStates>
Enum Constant and Description |
---|
LEFT_BUTTON |
MIDDLE_BUTTON |
NONE |
RIGHT_BUTTON |
Modifier and Type | Method and Description |
---|---|
static Control.ClickStates |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Control.ClickStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Control.ClickStates LEFT_BUTTON
public static final Control.ClickStates RIGHT_BUTTON
public static final Control.ClickStates MIDDLE_BUTTON
public static final Control.ClickStates NONE
public static Control.ClickStates[] values()
for (Control.ClickStates c : Control.ClickStates.values()) System.out.println(c);
public static Control.ClickStates 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