public static enum KeyboardShortcutsApiOpts.Repeat extends Enum<KeyboardShortcutsApiOpts.Repeat>
REPEAT - When pressing and holding a key, the same action will be fired multiple times. NO_REPEAT - When pressing and holding a key, the action will be only fired once.
Modifier and Type | Method and Description |
---|---|
static KeyboardShortcutsApiOpts.Repeat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyboardShortcutsApiOpts.Repeat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyboardShortcutsApiOpts.Repeat REPEAT
public static final KeyboardShortcutsApiOpts.Repeat NO_REPEAT
public static KeyboardShortcutsApiOpts.Repeat[] values()
for (KeyboardShortcutsApiOpts.Repeat c : KeyboardShortcutsApiOpts.Repeat.values()) System.out.println(c);
public static KeyboardShortcutsApiOpts.Repeat 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 © 2012–2020 JBoss by Red Hat. All rights reserved.