public enum PressedValue extends java.lang.Enum<PressedValue> implements AriaAttributeType
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAriaValue() |
static PressedValue |
of(boolean value)
Gets the enum constant corresponding to
value for the token type
PressedValue. |
static PressedValue |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PressedValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PressedValue TRUE
public static final PressedValue FALSE
public static final PressedValue MIXED
public static final PressedValue UNDEFINED
public static PressedValue[] values()
for (PressedValue c : PressedValue.values()) System.out.println(c);
public static PressedValue 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 PressedValue of(boolean value)
value for the token type
PressedValue.value - Boolean value for which we want to get the corresponding enum constant.public java.lang.String getAriaValue()
getAriaValue in interface AriaAttributeType