public enum KeyboardEvent extends Enum<KeyboardEvent>
| Enum Constant and Description |
|---|
ENTRY_ABORTED
The User has not finished entering text and the keyboard is aborted with the event of higher priority.
|
ENTRY_CANCELLED
The User has pressed the HMI-defined "Cancel" button.
|
ENTRY_SUBMITTED
The User has finished entering text from the keyboard and submitted the entry.
|
ENTRY_VOICE |
INPUT_KEY_MASK_DISABLED |
INPUT_KEY_MASK_ENABLED |
KEYPRESS
The use has pressed the keyboard key (applies to both SINGLE_KEYPRESS and RESEND_CURRENT_ENTRY modes).
|
| Modifier and Type | Method and Description |
|---|---|
static KeyboardEvent |
valueForString(String value)
Convert String to KeyboardEvent
|
static KeyboardEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyboardEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyboardEvent KEYPRESS
public static final KeyboardEvent ENTRY_SUBMITTED
public static final KeyboardEvent ENTRY_CANCELLED
public static final KeyboardEvent ENTRY_ABORTED
public static final KeyboardEvent ENTRY_VOICE
public static final KeyboardEvent INPUT_KEY_MASK_ENABLED
public static final KeyboardEvent INPUT_KEY_MASK_DISABLED
public static KeyboardEvent[] values()
for (KeyboardEvent c : KeyboardEvent.values()) System.out.println(c);
public static KeyboardEvent 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 KeyboardEvent valueForString(String value)
value - String