public enum HIDKeyboardLanguage extends Enum<HIDKeyboardLanguage>
| Enum Constant and Description |
|---|
altMode |
belgium |
danish |
french |
german |
italian |
japanese |
norwegian |
partialALT |
spanish |
swedish |
swiss |
uk |
us |
| Modifier and Type | Method and Description |
|---|---|
static HIDKeyboardLanguage |
fromValue(int value)
Gets a HID keyboard language from its byte value.
|
byte |
getCode()
Gets the byte value of the HID keyboard language.
|
static String[] |
names()
Returns an array containing the names of the HID keyboard language constants.
|
String |
toString()
Returns the string message of the HID keyboard language.
|
static HIDKeyboardLanguage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HIDKeyboardLanguage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HIDKeyboardLanguage us
public static final HIDKeyboardLanguage uk
public static final HIDKeyboardLanguage swiss
public static final HIDKeyboardLanguage swedish
public static final HIDKeyboardLanguage spanish
public static final HIDKeyboardLanguage norwegian
public static final HIDKeyboardLanguage italian
public static final HIDKeyboardLanguage german
public static final HIDKeyboardLanguage french
public static final HIDKeyboardLanguage altMode
public static final HIDKeyboardLanguage danish
public static final HIDKeyboardLanguage partialALT
public static final HIDKeyboardLanguage japanese
public static final HIDKeyboardLanguage belgium
public static HIDKeyboardLanguage[] values()
for (HIDKeyboardLanguage c : HIDKeyboardLanguage.values()) System.out.println(c);
public static HIDKeyboardLanguage 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<HIDKeyboardLanguage>public static HIDKeyboardLanguage fromValue(int value) throws IllegalArgumentException
value - The byte value of the HID keyboard language.IllegalArgumentException - If the byte value does not correspond to any HID keyboard language.public static String[] names()