public static enum KeyPress.Type extends Enum<KeyPress.Type>
Enum Constant and Description |
---|
ArrowDown |
ArrowLeft |
ArrowRight |
ArrowUp |
Backspace |
Character |
Delete |
End |
Enter |
Escape |
F1 |
F10 |
F11 |
F12 |
F2 |
F3 |
F4 |
F5 |
F6 |
F7 |
F8 |
F9 |
Home |
Insert |
PageDown |
PageUp |
ReverseTab |
Tab |
Unknown |
Modifier and Type | Method and Description |
---|---|
static KeyPress.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyPress.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyPress.Type Character
public static final KeyPress.Type Escape
public static final KeyPress.Type Backspace
public static final KeyPress.Type ArrowLeft
public static final KeyPress.Type ArrowRight
public static final KeyPress.Type ArrowUp
public static final KeyPress.Type ArrowDown
public static final KeyPress.Type Insert
public static final KeyPress.Type Delete
public static final KeyPress.Type Home
public static final KeyPress.Type End
public static final KeyPress.Type PageUp
public static final KeyPress.Type PageDown
public static final KeyPress.Type ReverseTab
public static final KeyPress.Type Tab
public static final KeyPress.Type Enter
public static final KeyPress.Type F1
public static final KeyPress.Type F2
public static final KeyPress.Type F3
public static final KeyPress.Type F4
public static final KeyPress.Type F5
public static final KeyPress.Type F6
public static final KeyPress.Type F7
public static final KeyPress.Type F8
public static final KeyPress.Type F9
public static final KeyPress.Type F10
public static final KeyPress.Type F11
public static final KeyPress.Type F12
public static final KeyPress.Type Unknown
public static KeyPress.Type[] values()
for (KeyPress.Type c : KeyPress.Type.values()) System.out.println(c);
public static KeyPress.Type 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 © 2007–2020 The Apache Software Foundation. All rights reserved.