public enum PressedValue extends Enum<PressedValue> implements AriaAttributeType
Modifier and Type | Method and Description |
---|---|
String |
getAriaValue() |
static PressedValue |
of(boolean value)
Gets the enum constant corresponding to
value for the token type
PressedValue. |
static PressedValue |
valueOf(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.
|
compareTo, createValueOfMap, equals, getDeclaringClass, hashCode, name, obfuscatedName, ordinal, toString, valueOf, valueOf
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(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 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 String getAriaValue()
getAriaValue
in interface AriaAttributeType
Copyright © 2018. All rights reserved.