public enum HIDKeyboardCase extends Enum<HIDKeyboardCase>
| Modifier and Type | Method and Description |
|---|---|
static HIDKeyboardCase |
fromValue(int value)
Gets a HID keyboard case from its byte value.
|
byte |
getCode()
Gets the byte value of the HID keyboard case.
|
static String[] |
names()
Returns an array containing the names of the HID keyboard case constants.
|
String |
toString()
Returns the string message of the HID keyboard case.
|
static HIDKeyboardCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HIDKeyboardCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HIDKeyboardCase auto
public static final HIDKeyboardCase lower
public static final HIDKeyboardCase upper
public static HIDKeyboardCase[] values()
for (HIDKeyboardCase c : HIDKeyboardCase.values()) System.out.println(c);
public static HIDKeyboardCase 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 byte getCode()
public String toString()
toString in class Enum<HIDKeyboardCase>public static HIDKeyboardCase fromValue(int value) throws IllegalArgumentException
value - The byte value of the HID keyboard case.IllegalArgumentException - If the byte value does not correspond to any HID keyboard case.public static String[] names()