public enum KeyboardState extends java.lang.Enum<KeyboardState> implements ResourceEnum
| Modifier and Type | Method and Description |
|---|---|
static KeyboardState |
getByIndex(int index) |
static KeyboardState |
getEnum(java.lang.String value)
Returns the enum for matching the provided qualifier value.
|
static int |
getIndex(KeyboardState value) |
java.lang.String |
getLongDisplayValue()
Returns a long string for display value.
|
java.lang.String |
getResourceValue()
Returns the resource string.
|
java.lang.String |
getShortDisplayValue()
Returns a short string for display value.
|
boolean |
isFakeValue()
Whether the value is neither used for device nor resources.
|
boolean |
isValidValueForDevice()
Whether the value actually used on device.
|
static KeyboardState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeyboardState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyboardState EXPOSED
public static final KeyboardState HIDDEN
public static final KeyboardState SOFT
public static KeyboardState[] values()
for (KeyboardState c : KeyboardState.values()) System.out.println(c);
public static KeyboardState 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 static KeyboardState getEnum(java.lang.String value)
value - The qualifier value.public java.lang.String getResourceValue()
ResourceEnumgetResourceValue in interface ResourceEnumpublic java.lang.String getShortDisplayValue()
ResourceEnumgetShortDisplayValue in interface ResourceEnumResourceEnum.getLongDisplayValue()public java.lang.String getLongDisplayValue()
ResourceEnumgetLongDisplayValue in interface ResourceEnumResourceEnum.getShortDisplayValue()public static int getIndex(KeyboardState value)
public static KeyboardState getByIndex(int index)
public boolean isFakeValue()
ResourceEnumisFakeValue in interface ResourceEnumpublic boolean isValidValueForDevice()
ResourceEnumisValidValueForDevice in interface ResourceEnum