public enum ModifierKey extends Enum<ModifierKey>
KeySequence in the framework.| Modifier and Type | Method and Description |
|---|---|
static ModifierKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModifierKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModifierKey SHIFT
public static final ModifierKey ALT
public static final ModifierKey CONTROL
public static final ModifierKey META
public static ModifierKey[] values()
for (ModifierKey c : ModifierKey.values()) System.out.println(c);
public static ModifierKey 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 © 2015 Atlassian. All rights reserved.