Node
.
The role is used by assistive technologies such as screen readers
to decide the set of actions and attributes for a node. For example,
when the screen reader needs the current value of a slider, it
will request it using the value attribute. When the screen reader
changes the value of the slider, it will use an action to set
the current value of the slider. The slider must respond
appropriately to both these requests.
Node#setAccessibleRole(AccessibleRole)
, Node#getAccessibleRole()
, AccessibleAttribute#ROLE
, Node#queryAccessibleAttribute(AccessibleAttribute, Object...)
, Node#executeAccessibleAction(AccessibleAction, Object...)
Modifier and Type | Field and Description |
---|---|
public static final AccessibleRole | BUTTON
Button role. |
public static final AccessibleRole | CHECK_BOX
Check Box role. |
public static final AccessibleRole | CHECK_BOX_TREE_ITEM
Check Box Tree Item role. |
public static final AccessibleRole | CHECK_MENU_ITEM
Check Menu Item role. |
public static final AccessibleRole | COMBO_BOX
Combo Box role. |
public static final AccessibleRole | CONTEXT_MENU
Context Menu role. |
public static final AccessibleRole | DATE_PICKER
Date Picker role. |
public static final AccessibleRole | DECREMENT_BUTTON
Decrement Button role. |
public static final AccessibleRole | DIALOG
Dialog role. |
public static final AccessibleRole | HYPERLINK
Hyperlink role. |
public static final AccessibleRole | IMAGE_VIEW
Image View role. |
public static final AccessibleRole | INCREMENT_BUTTON
Increment Button role. |
public static final AccessibleRole | LIST_ITEM
List Item role. |
public static final AccessibleRole | LIST_VIEW
List View role. |
public static final AccessibleRole | MENU
Menu role. |
public static final AccessibleRole | MENU_BAR
Menu Bar role. |
public static final AccessibleRole | MENU_BUTTON
Menu Button role. |
public static final AccessibleRole | MENU_ITEM
Menu Item role. |
public static final AccessibleRole | NODE
Node role. |
public static final AccessibleRole | PAGE_ITEM
Page role. |
public static final AccessibleRole | PAGINATION
Pagination role. |
public static final AccessibleRole | PARENT
Parent role. |
public static final AccessibleRole | PASSWORD_FIELD
Password Field role. |
public static final AccessibleRole | PROGRESS_INDICATOR
Progress Indicator role. |
public static final AccessibleRole | RADIO_BUTTON
Radio Button role. |
public static final AccessibleRole | RADIO_MENU_ITEM
Radio Menu Item role. |
public static final AccessibleRole | SCROLL_BAR
Scroll Bar role. |
public static final AccessibleRole | SCROLL_PANE
Scroll Pane role. |
public static final AccessibleRole | SLIDER
Slider role. |
public static final AccessibleRole | SPINNER
Spinner role. |
public static final AccessibleRole | SPLIT_MENU_BUTTON
Split Menu Button role. |
public static final AccessibleRole | TAB_ITEM
Tab Item role. |
public static final AccessibleRole | TAB_PANE
Tab Pane role. |
public static final AccessibleRole | TABLE_CELL
Table Cell role. |
public static final AccessibleRole | TABLE_COLUMN
Table Column role. |
public static final AccessibleRole | TABLE_ROW
Table Row role. |
public static final AccessibleRole | TABLE_VIEW
Table View role. |
public static final AccessibleRole | TEXT
Text role. |
public static final AccessibleRole | TEXT_AREA
Text Area role. |
public static final AccessibleRole | TEXT_FIELD
Text Field role. |
public static final AccessibleRole | THUMB
Thumb role. |
public static final AccessibleRole | TITLED_PANE
Titled Pane role. |
public static final AccessibleRole | TOGGLE_BUTTON
Toggle Button role. |
public static final AccessibleRole | TOOL_BAR
Tool Bar role. |
public static final AccessibleRole | TOOLTIP
Tooltip role. |
public static final AccessibleRole | TREE_ITEM
Tree Item role. |
public static final AccessibleRole | TREE_TABLE_CELL
Tree Table Cell role. |
public static final AccessibleRole | TREE_TABLE_ROW
Tree Table Row role. |
public static final AccessibleRole | TREE_TABLE_VIEW
Tree Table View role. |
public static final AccessibleRole | TREE_VIEW
Tree View role. |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public static AccessibleRole | |
public static AccessibleRole[] |
BUTTON | back to summary |
---|---|
public static final AccessibleRole BUTTON Button role. Attributes: Actions: |
CHECK_BOX | back to summary |
---|---|
public static final AccessibleRole CHECK_BOX Check Box role. Attributes: Actions: |
CHECK_BOX_TREE_ITEM | back to summary |
---|---|
public static final AccessibleRole CHECK_BOX_TREE_ITEM Check Box Tree Item role. Attributes:
|
CHECK_MENU_ITEM | back to summary |
---|---|
public static final AccessibleRole CHECK_MENU_ITEM Check Menu Item role. Attributes: Actions: |
COMBO_BOX | back to summary |
---|---|
public static final AccessibleRole COMBO_BOX Combo Box role. Attributes: Actions: |
CONTEXT_MENU | back to summary |
---|---|
public static final AccessibleRole CONTEXT_MENU Context Menu role. Attributes: |
DATE_PICKER | back to summary |
---|---|
public static final AccessibleRole DATE_PICKER Date Picker role. Attributes: |
DECREMENT_BUTTON | back to summary |
---|---|
public static final AccessibleRole DECREMENT_BUTTON Decrement Button role. Attributes: Actions: |
DIALOG | back to summary |
---|---|
public static final AccessibleRole DIALOG Dialog role. Attributes:
|
HYPERLINK | back to summary |
---|---|
public static final AccessibleRole HYPERLINK Hyperlink role. Actions: |
IMAGE_VIEW | back to summary |
---|---|
public static final AccessibleRole IMAGE_VIEW Image View role. Attributes: Actions:
It is strongly recommended that a text description of the image be provided
for each |
INCREMENT_BUTTON | back to summary |
---|---|
public static final AccessibleRole INCREMENT_BUTTON Increment Button role. Attributes: Actions: |
LIST_ITEM | back to summary |
---|---|
public static final AccessibleRole LIST_ITEM List Item role. Attributes: Actions: |
LIST_VIEW | back to summary |
---|---|
public static final AccessibleRole LIST_VIEW List View role. Attributes: Actions: |
MENU | back to summary |
---|---|
public static final AccessibleRole MENU Menu role. Attributes: Actions: |
MENU_BAR | back to summary |
---|---|
public static final AccessibleRole MENU_BAR Menu Bar role. Attributes: Actions: |
MENU_BUTTON | back to summary |
---|---|
public static final AccessibleRole MENU_BUTTON Menu Button role. Attributes: Actions: |
MENU_ITEM | back to summary |
---|---|
public static final AccessibleRole MENU_ITEM Menu Item role. Attributes: Actions: |
NODE | back to summary |
---|---|
public static final AccessibleRole NODE Node role. Attributes:
|
PAGE_ITEM | back to summary |
---|---|
public static final AccessibleRole PAGE_ITEM Page role. Attributes: Actions: |
PAGINATION | back to summary |
---|---|
public static final AccessibleRole PAGINATION Pagination role. Attributes: Actions: |
PARENT | back to summary |
---|---|
public static final AccessibleRole PARENT Parent role. Attributes: Actions: |
PASSWORD_FIELD | back to summary |
---|---|
public static final AccessibleRole PASSWORD_FIELD Password Field role. Attributes:
|
PROGRESS_INDICATOR | back to summary |
---|---|
public static final AccessibleRole PROGRESS_INDICATOR Progress Indicator role. Attributes: Actions: |
RADIO_BUTTON | back to summary |
---|---|
public static final AccessibleRole RADIO_BUTTON Radio Button role. Attributes: Actions: |
RADIO_MENU_ITEM | back to summary |
---|---|
public static final AccessibleRole RADIO_MENU_ITEM Radio Menu Item role. Attributes: Actions: |
SCROLL_BAR | back to summary |
---|---|
public static final AccessibleRole SCROLL_BAR Scroll Bar role. Attributes: Actions: |
SCROLL_PANE | back to summary |
---|---|
public static final AccessibleRole SCROLL_PANE Scroll Pane role. Attributes: Actions: |
SLIDER | back to summary |
---|---|
public static final AccessibleRole SLIDER Slider role. Attributes: Actions: |
SPINNER | back to summary |
---|---|
public static final AccessibleRole SPINNER Spinner role. Attributes: Actions: |
SPLIT_MENU_BUTTON | back to summary |
---|---|
public static final AccessibleRole SPLIT_MENU_BUTTON Split Menu Button role. Attributes: Actions: |
TAB_ITEM | back to summary |
---|---|
public static final AccessibleRole TAB_ITEM Tab Item role. Attributes: Actions: |
TAB_PANE | back to summary |
---|---|
public static final AccessibleRole TAB_PANE Tab Pane role. Attributes: Actions: |
TABLE_CELL | back to summary |
---|---|
public static final AccessibleRole TABLE_CELL Table Cell role. Attributes: Actions: |
TABLE_COLUMN | back to summary |
---|---|
public static final AccessibleRole TABLE_COLUMN Table Column role. Attributes: Actions: |
TABLE_ROW | back to summary |
---|---|
public static final AccessibleRole TABLE_ROW Table Row role. Attributes: Actions: |
TEXT | back to summary |
---|---|
public static final AccessibleRole TEXT Text role. Attributes: Actions: |
TEXT_FIELD | back to summary |
---|---|
public static final AccessibleRole TEXT_FIELD Text Field role. Attributes: Actions: |
THUMB | back to summary |
---|---|
public static final AccessibleRole THUMB Thumb role. Attributes: Actions: |
TITLED_PANE | back to summary |
---|---|
public static final AccessibleRole TITLED_PANE Titled Pane role. Attributes: Actions: |
TOGGLE_BUTTON | back to summary |
---|---|
public static final AccessibleRole TOGGLE_BUTTON Toggle Button role. Attributes: Actions: |
TOOL_BAR | back to summary |
---|---|
public static final AccessibleRole TOOL_BAR Tool Bar role. Attributes: Actions: |
TOOLTIP | back to summary |
---|---|
public static final AccessibleRole TOOLTIP Tooltip role. Attributes: Actions: |
TREE_ITEM | back to summary |
---|---|
public static final AccessibleRole TREE_ITEM Tree Item role. Attributes: Actions: |
TREE_TABLE_CELL | back to summary |
---|---|
public static final AccessibleRole TREE_TABLE_CELL Tree Table Cell role. Attributes: Actions: |
TREE_TABLE_ROW | back to summary |
---|---|
public static final AccessibleRole TREE_TABLE_ROW Tree Table Row role. Attributes: Actions: |
TREE_TABLE_VIEW | back to summary |
---|---|
public static final AccessibleRole TREE_TABLE_VIEW Tree Table View role. Attributes:
|
TREE_VIEW | back to summary |
---|---|
public static final AccessibleRole TREE_VIEW Tree View role. Attributes: Actions: |
AccessibleRole | back to summary |
---|---|
private AccessibleRole() |
valueOf | back to summary |
---|---|
public static AccessibleRole valueOf(String name) |
values | back to summary |
---|---|
public static AccessibleRole[] values() |