public enum KeyLocation extends Enum<KeyLocation>
| Enum Constant and Description |
|---|
LEFT
Left key location.
|
NUMPAD
Numeric pad key location.
|
RIGHT
Right key location.
|
RIGTH
Deprecated.
|
STANDARD
Standard key location.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLocation()
Gets the key location integer value.
|
static KeyLocation |
of(int location)
Returns the
KeyLocation for location. |
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
@Deprecated public static final KeyLocation RIGTH
RIGHTpublic static final KeyLocation NUMPAD
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 nullpublic int getLocation()
public static KeyLocation of(int location)
KeyLocation for location.location - the location integer valueKeyLocationCopyright © 2025. All rights reserved.