public enum KeyboardLayout extends Enum<KeyboardLayout>
Enum Constant and Description |
---|
AZERTY
AZERTY for French keyboard layout
|
Normal
Standard US keyboard layout
|
QWERTZ
QWERTZ for German keyboard layout
|
Modifier and Type | Method and Description |
---|---|
static KeyboardLayout |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyboardLayout[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyboardLayout Normal
public static final KeyboardLayout AZERTY
public static final KeyboardLayout QWERTZ
public static KeyboardLayout[] values()
for (KeyboardLayout c : KeyboardLayout.values()) System.out.println(c);
public static KeyboardLayout 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 null