public static enum KeyboardInfo.Fields extends Enum<KeyboardInfo.Fields>
Enum Constant and Description |
---|
DEVICE_FORM_FACTOR |
HEIGHT |
IDENTIFIER |
NAME |
WIDTH |
Modifier and Type | Method and Description |
---|---|
static KeyboardInfo.Fields |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyboardInfo.Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyboardInfo.Fields IDENTIFIER
public static final KeyboardInfo.Fields NAME
public static final KeyboardInfo.Fields WIDTH
public static final KeyboardInfo.Fields HEIGHT
public static final KeyboardInfo.Fields DEVICE_FORM_FACTOR
public static KeyboardInfo.Fields[] values()
for (KeyboardInfo.Fields c : KeyboardInfo.Fields.values()) System.out.println(c);
public static KeyboardInfo.Fields 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 nullCopyright © 2015. All rights reserved.