public enum KeyboardEventModifier extends Enum<KeyboardEventModifier>
Modifier and Type | Field and Description |
---|---|
int |
nativeValue |
Modifier and Type | Method and Description |
---|---|
static KeyboardEventModifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyboardEventModifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyboardEventModifier SHIFT
public static final KeyboardEventModifier CTRL
public static final KeyboardEventModifier ALT
public static KeyboardEventModifier[] values()
for (KeyboardEventModifier c : KeyboardEventModifier.values()) System.out.println(c);
public static KeyboardEventModifier valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2014. All rights reserved.