public enum KeypressMode extends Enum<KeypressMode>
| Enum Constant and Description |
|---|
QUEUE_KEYPRESSES
The key presses are queued and a string is eventually sent once the user chooses to submit their entry.
|
RESEND_CURRENT_ENTRY
The key presses are queue and a string is sent each time the user presses a keyboard key; the string contains the entire current entry.
|
SINGLE_KEYPRESS
Each keypress is individually sent as the user presses the keyboard keys.
|
| Modifier and Type | Method and Description |
|---|---|
static KeypressMode |
valueForString(String value) |
static KeypressMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeypressMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeypressMode SINGLE_KEYPRESS
public static final KeypressMode QUEUE_KEYPRESSES
public static final KeypressMode RESEND_CURRENT_ENTRY
public static KeypressMode[] values()
for (KeypressMode c : KeypressMode.values()) System.out.println(c);
public static KeypressMode 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 nullpublic static KeypressMode valueForString(String value)