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