public enum KeyboardLED extends java.lang.Enum<KeyboardLED>
Enum Constant and Description |
---|
CapsLock |
NumLock |
ScrollLock |
Modifier and Type | Method and Description |
---|---|
static KeyboardLED |
fromValue(long v) |
static KeyboardLED |
fromValue(java.lang.String v) |
int |
value() |
static KeyboardLED |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeyboardLED[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyboardLED NumLock
public static final KeyboardLED CapsLock
public static final KeyboardLED ScrollLock
public static KeyboardLED[] values()
for (KeyboardLED c : KeyboardLED.values()) System.out.println(c);
public static KeyboardLED valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int value()
public static KeyboardLED fromValue(long v)
public static KeyboardLED fromValue(java.lang.String v)