public static enum Key.Kind extends Enum<Key.Kind>
Enum Constant and Description |
---|
ArrowDown |
ArrowLeft |
ArrowRight |
ArrowUp |
Backspace |
CursorLocation |
Delete |
End |
Enter |
EOF |
Escape |
F1 |
F10 |
F11 |
F12 |
F2 |
F3 |
F4 |
F5 |
F6 |
F7 |
F8 |
F9 |
Home |
Insert |
NormalKey |
PageDown |
PageUp |
ReverseTab |
Tab |
Unknown |
Modifier and Type | Method and Description |
---|---|
char |
getRepresentationKey() |
static Key.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Key.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Key.Kind NormalKey
public static final Key.Kind Escape
public static final Key.Kind Backspace
public static final Key.Kind ArrowLeft
public static final Key.Kind ArrowRight
public static final Key.Kind ArrowUp
public static final Key.Kind ArrowDown
public static final Key.Kind Insert
public static final Key.Kind Delete
public static final Key.Kind Home
public static final Key.Kind End
public static final Key.Kind PageUp
public static final Key.Kind PageDown
public static final Key.Kind Tab
public static final Key.Kind ReverseTab
public static final Key.Kind Enter
public static final Key.Kind F1
public static final Key.Kind F2
public static final Key.Kind F3
public static final Key.Kind F4
public static final Key.Kind F5
public static final Key.Kind F6
public static final Key.Kind F7
public static final Key.Kind F8
public static final Key.Kind F9
public static final Key.Kind F10
public static final Key.Kind F11
public static final Key.Kind F12
public static final Key.Kind Unknown
public static final Key.Kind CursorLocation
public static final Key.Kind EOF
public static Key.Kind[] values()
for (Key.Kind c : Key.Kind.values()) System.out.println(c);
public static Key.Kind 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 char getRepresentationKey()
Copyright © 2015. All Rights Reserved.