Enum AccessibilityRole
- All Implemented Interfaces:
Comparable<AccessibilityRole>
The semantic role of a lightweight component or virtual accessibility node.
Roles are intentionally portable. Platform ports map them to native control
types, traits, patterns, or ARIA roles and fall back to GENERIC when
a platform has no exact equivalent.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic AccessibilityRoleReturns the enum constant of this type with the specified name.static AccessibilityRole[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class Enum
clone, compareTo, equals, getDeclaringClass, getEnumValues, hashCode, name, ordinal, setEnumValues, toString, valueOf
-
Enum Constant Details
-
NONE
-
GENERIC
-
BUTTON
-
TOGGLE_BUTTON
-
CHECKBOX
-
RADIO_BUTTON
-
SWITCH
-
HEADING
-
LINK
-
IMAGE
-
STATIC_TEXT
-
TEXT_FIELD
-
SEARCH_FIELD
-
SLIDER
-
PROGRESS_BAR
-
LIST
-
LIST_ITEM
-
GRID
-
ROW
-
CELL
-
COLUMN_HEADER
-
ROW_HEADER
-
TAB_LIST
-
TAB
-
TAB_PANEL
-
DIALOG
-
ALERT
-
MENU
-
MENU_ITEM
-
TOOLBAR
-
SCROLL_BAR
-
SPIN_BUTTON
-
COMBO_BOX
-
TREE
-
TREE_ITEM
-
SEPARATOR
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-