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