public enum KeyLocation extends Enum<KeyLocation>
Enum Constant and Description |
---|
LEFT |
NUMPAD |
RIGHT |
STANDARD |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static KeyLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyLocation STANDARD
public static final KeyLocation LEFT
public static final KeyLocation RIGHT
public static final KeyLocation NUMPAD
public static final KeyLocation UNKNOWN
public static KeyLocation[] values()
for (KeyLocation c : KeyLocation.values()) System.out.println(c);
public static KeyLocation 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 © 2018 Xalys. All rights reserved.