Enum KeyCode
- java.lang.Object
-
- java.lang.Enum<KeyCode>
-
- nl.colorize.multimedialib.renderer.KeyCode
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeyCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static KeyCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEFT
public static final KeyCode LEFT
-
RIGHT
public static final KeyCode RIGHT
-
UP
public static final KeyCode UP
-
DOWN
public static final KeyCode DOWN
-
ENTER
public static final KeyCode ENTER
-
SPACEBAR
public static final KeyCode SPACEBAR
-
ESCAPE
public static final KeyCode ESCAPE
-
A
public static final KeyCode A
-
B
public static final KeyCode B
-
C
public static final KeyCode C
-
D
public static final KeyCode D
-
E
public static final KeyCode E
-
F
public static final KeyCode F
-
G
public static final KeyCode G
-
H
public static final KeyCode H
-
I
public static final KeyCode I
-
J
public static final KeyCode J
-
K
public static final KeyCode K
-
L
public static final KeyCode L
-
M
public static final KeyCode M
-
N
public static final KeyCode N
-
O
public static final KeyCode O
-
P
public static final KeyCode P
-
Q
public static final KeyCode Q
-
R
public static final KeyCode R
-
S
public static final KeyCode S
-
T
public static final KeyCode T
-
U
public static final KeyCode U
-
V
public static final KeyCode V
-
W
public static final KeyCode W
-
X
public static final KeyCode X
-
Y
public static final KeyCode Y
-
Z
public static final KeyCode Z
-
N1
public static final KeyCode N1
-
N2
public static final KeyCode N2
-
N3
public static final KeyCode N3
-
N4
public static final KeyCode N4
-
N5
public static final KeyCode N5
-
N6
public static final KeyCode N6
-
N7
public static final KeyCode N7
-
N8
public static final KeyCode N8
-
N9
public static final KeyCode N9
-
N0
public static final KeyCode N0
-
-
Method Detail
-
values
public static KeyCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KeyCode c : KeyCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KeyCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-