public static enum GuiRobot.ModifierKey extends java.lang.Enum<GuiRobot.ModifierKey>
Modifier and Type | Field and Description |
---|---|
int |
code |
Modifier and Type | Method and Description |
---|---|
static GuiRobot.ModifierKey |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GuiRobot.ModifierKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GuiRobot.ModifierKey ALT
public static final GuiRobot.ModifierKey ALTG
public static final GuiRobot.ModifierKey CTRL
public static final GuiRobot.ModifierKey META
public static final GuiRobot.ModifierKey SHIFT
public static GuiRobot.ModifierKey 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 static GuiRobot.ModifierKey[] values()
for (GuiRobot.ModifierKey c : GuiRobot.ModifierKey.values()) System.out.println(c);