AccessibleRole dictates the set of attributes that
the screen reader will request for a particular control. For
example, a slider is expected to return a double that represents
the current value.
Attributes may have any number of parameters, depending on the particular attribute.
When the value of an attribute is changed by a node, it must notify the assistive technology
using Node#notifyAccessibleAttributeChanged(AccessibleAttribute). This will allow
the screen reader to inform the user that a value has changed. The most common form of
notification is focus change.
Node#queryAccessibleAttribute(AccessibleAttribute, Object...) , Node#notifyAccessibleAttributeChanged(AccessibleAttribute), AccessibleRole, AccessibleAttribute#ROLE
| Modifier and Type | Class and Description |
|---|---|
| public static enum | AccessibleAttribute.
This enum describes the values for |
| Modifier and Type | Field and Description |
|---|---|
| public static final AccessibleAttribute | ACCELERATOR
Returns the accelerator for the node. |
| public static final AccessibleAttribute | BOUNDS
Returns the bounds for the node, in screen coordinates. |
| public static final AccessibleAttribute | BOUNDS_FOR_RANGE
Returns the array of bounding rectangles for the given character range, in screen coordinates. |
| public static final AccessibleAttribute | CARET_OFFSET
Returns the caret offset for the node. |
| public static final AccessibleAttribute | CELL_AT_ROW_COLUMN
Returns the cell at the given row and column indices. |
| public static final AccessibleAttribute | CHILDREN
Returns the children for the node. |
| public static final AccessibleAttribute | COLUMN_AT_INDEX
Returns the column at the given index. |
| public static final AccessibleAttribute | COLUMN_COUNT
Returns the column count for the node. |
| public static final AccessibleAttribute | COLUMN_INDEX
Returns the column index for the node. |
| public static final AccessibleAttribute | CONTENTS
Returns the contents of the node. |
| public static final AccessibleAttribute | DATE
Returns the local date for the node. |
| public static final AccessibleAttribute | DISABLED
Returns true if the node is disabled, otherwise false. |
| public static final AccessibleAttribute | DISCLOSURE_LEVEL
Returns the depth of a row in the disclosure hierarchy. |
| public static final AccessibleAttribute | EDITABLE
Returns true if the node is editable, otherwise false. |
| public static final AccessibleAttribute | EXPANDED
Returns true if the node is expanded, otherwise false. |
| public static final AccessibleAttribute | FOCUS_ITEM
Returns the focus item. |
| public static final AccessibleAttribute | FOCUS_NODE
Returns the focus node. |
| public static final AccessibleAttribute | FOCUSED
Returns true if the node is focused, otherwise false. |
| public static final AccessibleAttribute | FONT
Returns the font for the node. |
| public static final AccessibleAttribute | HEADER
Returns the header for the node. |
| public static final AccessibleAttribute | HELP
Returns the help text for the node. |
| public static final AccessibleAttribute | HORIZONTAL_SCROLLBAR
Returns the horizontal scroll bar for the node. |
| public static final AccessibleAttribute | INDETERMINATE
Returns true of the node is indeterminate, otherwise false. |
| public static final AccessibleAttribute | INDEX
Returns the index for the node. |
| public static final AccessibleAttribute | ITEM_AT_INDEX
Returns the item at the given index. |
| public static final AccessibleAttribute | ITEM_COUNT
Returns the item count for the node. |
| public static final AccessibleAttribute | LABELED_BY
Returns the node that is the label for this node. |
| public static final AccessibleAttribute | LEAF
Returns true if the node is a leaf element, otherwise false. |
| public static final AccessibleAttribute | LINE_END
Returns the line end offset of the given line index. |
| public static final AccessibleAttribute | LINE_FOR_OFFSET
Returns the line index of the given character offset. |
| public static final AccessibleAttribute | LINE_START
Returns the line start offset of the given line index. |
| public static final AccessibleAttribute | MAX_VALUE
Returns the maximum value for the node. |
| public static final AccessibleAttribute | MIN_VALUE
Returns the minimum value for the node. |
| public static final AccessibleAttribute | MNEMONIC
Returns the mnemonic for the node. |
| public static final AccessibleAttribute | MULTIPLE_SELECTION
Returns true if the node allows for multiple selection, otherwise false. |
| public static final AccessibleAttribute | NODE_AT_POINT
Returns the node at the given location. |
| public static final AccessibleAttribute | OFFSET_AT_POINT
Returns the character offset at the given location. |
| public static final AccessibleAttribute | ORIENTATION
Returns the orientation of the node. |
| public static final AccessibleAttribute | OVERFLOW_BUTTON
Return the overflow button for the node. |
| public static final AccessibleAttribute | PARENT
Returns the parent for the node. |
| public static final AccessibleAttribute | PARENT_MENU
Returns the parent menu for the node. |
| private Class | |
| public static final AccessibleAttribute | ROLE
Returns the role for the node. |
| public static final AccessibleAttribute | ROLE_DESCRIPTION
Returns the role description for the node. |
| public static final AccessibleAttribute | ROW_AT_INDEX
Returns the row at the given index. |
| public static final AccessibleAttribute | ROW_COUNT
Returns the row count for the node. |
| public static final AccessibleAttribute | ROW_INDEX
Returns the row index of the node. |
| public static final AccessibleAttribute | SCENE
Returns the scene for the node. |
| public static final AccessibleAttribute | SELECTED
Returns true if the node is selected, otherwise false. |
| public static final AccessibleAttribute | SELECTED_ITEMS
Returns the list of selected items for the node. |
| public static final AccessibleAttribute | SELECTION_END
Returns the text selection end offset for the node. |
| public static final AccessibleAttribute | SELECTION_START
Returns the text selection start offset for the node. |
| public static final AccessibleAttribute | SUBMENU
Returns the sub menu for the node. |
| public static final AccessibleAttribute | TEXT
Returns the text for the node. |
| public static final AccessibleAttribute | TOGGLE_STATE
Returns |
| public static final AccessibleAttribute | TREE_ITEM_AT_INDEX
Returns a tree item at the given index, relative to its TREE_ITEM_PARENT. |
| public static final AccessibleAttribute | TREE_ITEM_COUNT
Returns the tree item count for the node, relative to its TREE_ITEM_PARENT. |
| public static final AccessibleAttribute | TREE_ITEM_PARENT
Returns the parent item for the item, or null if the item is the root. |
| public static final AccessibleAttribute | VALUE
Returns the value for the node. |
| public static final AccessibleAttribute | VALUE_STRING
Returns the value as string for the node. |
| public static final AccessibleAttribute | VERTICAL_SCROLLBAR
Returns the vertical scroll bar for the node. |
| public static final AccessibleAttribute | VISIBLE
Returns true if node is visible, otherwise false. |
| public static final AccessibleAttribute | VISITED
Returns true if the node has been visited, otherwise false. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Class | |
| public static AccessibleAttribute | |
| public static AccessibleAttribute[] |
| ACCELERATOR | back to summary |
|---|---|
| public static final AccessibleAttribute ACCELERATOR Returns the accelerator for the node.
| |
| BOUNDS | back to summary |
|---|---|
| public static final AccessibleAttribute BOUNDS Returns the bounds for the node, in screen coordinates.
| |
| BOUNDS_FOR_RANGE | back to summary |
|---|---|
| public static final AccessibleAttribute BOUNDS_FOR_RANGE Returns the array of bounding rectangles for the given character range, in screen coordinates. | |
| CARET_OFFSET | back to summary |
|---|---|
| public static final AccessibleAttribute CARET_OFFSET Returns the caret offset for the node.
| |
| CELL_AT_ROW_COLUMN | back to summary |
|---|---|
| public static final AccessibleAttribute CELL_AT_ROW_COLUMN Returns the cell at the given row and column indices. | |
| CHILDREN | back to summary |
|---|---|
| public static final AccessibleAttribute CHILDREN Returns the children for the node.
| |
| COLUMN_AT_INDEX | back to summary |
|---|---|
| public static final AccessibleAttribute COLUMN_AT_INDEX Returns the column at the given index. | |
| COLUMN_COUNT | back to summary |
|---|---|
| public static final AccessibleAttribute COLUMN_COUNT Returns the column count for the node.
| |
| COLUMN_INDEX | back to summary |
|---|---|
| public static final AccessibleAttribute COLUMN_INDEX Returns the column index for the node.
| |
| CONTENTS | back to summary |
|---|---|
| public static final AccessibleAttribute CONTENTS Returns the contents of the node.
| |
| DATE | back to summary |
|---|---|
| public static final AccessibleAttribute DATE Returns the local date for the node.
| |
| DISABLED | back to summary |
|---|---|
| public static final AccessibleAttribute DISABLED Returns true if the node is disabled, otherwise false.
| |
| DISCLOSURE_LEVEL | back to summary |
|---|---|
| public static final AccessibleAttribute DISCLOSURE_LEVEL Returns the depth of a row in the disclosure hierarchy.
| |
| EDITABLE | back to summary |
|---|---|
| public static final AccessibleAttribute EDITABLE Returns true if the node is editable, otherwise false.
| |
| EXPANDED | back to summary |
|---|---|
| public static final AccessibleAttribute EXPANDED Returns true if the node is expanded, otherwise false.
| |
| FOCUS_ITEM | back to summary |
|---|---|
| public static final AccessibleAttribute FOCUS_ITEM Returns the focus item. Used for controls such as TabPane, TableView, ListView where the assistive technology focus is different from the normal focus node. For example, a table control will have focus, while a cell inside the table might have the screen reader focus.
| |
| FOCUS_NODE | back to summary |
|---|---|
| public static final AccessibleAttribute FOCUS_NODE Returns the focus node. Type: Node
When this attribute is requested from the Scene, the default implementation
returns
| |
| FOCUSED | back to summary |
|---|---|
| public static final AccessibleAttribute FOCUSED Returns true if the node is focused, otherwise false.
| |
| FONT | back to summary |
|---|---|
| public static final AccessibleAttribute FONT Returns the font for the node.
| |
| HEADER | back to summary |
|---|---|
| public static final AccessibleAttribute HEADER Returns the header for the node.
| |
| HELP | back to summary |
|---|---|
| public static final AccessibleAttribute HELP Returns the help text for the node.
| |
| HORIZONTAL_SCROLLBAR | back to summary |
|---|---|
| public static final AccessibleAttribute HORIZONTAL_SCROLLBAR Returns the horizontal scroll bar for the node.
| |
| INDETERMINATE | back to summary |
|---|---|
| public static final AccessibleAttribute INDETERMINATE Returns true of the node is indeterminate, otherwise false.
| |
| INDEX | back to summary |
|---|---|
| public static final AccessibleAttribute INDEX Returns the index for the node.
| |
| ITEM_AT_INDEX | back to summary |
|---|---|
| public static final AccessibleAttribute ITEM_AT_INDEX Returns the item at the given index. | |
| ITEM_COUNT | back to summary |
|---|---|
| public static final AccessibleAttribute ITEM_COUNT Returns the item count for the node.
| |
| LABELED_BY | back to summary |
|---|---|
| public static final AccessibleAttribute LABELED_BY Returns the node that is the label for this node. When
| |
| LEAF | back to summary |
|---|---|
| public static final AccessibleAttribute LEAF Returns true if the node is a leaf element, otherwise false.
| |
| LINE_END | back to summary |
|---|---|
| public static final AccessibleAttribute LINE_END Returns the line end offset of the given line index. | |
| LINE_FOR_OFFSET | back to summary |
|---|---|
| public static final AccessibleAttribute LINE_FOR_OFFSET Returns the line index of the given character offset. | |
| LINE_START | back to summary |
|---|---|
| public static final AccessibleAttribute LINE_START Returns the line start offset of the given line index. | |
| MAX_VALUE | back to summary |
|---|---|
| public static final AccessibleAttribute MAX_VALUE Returns the maximum value for the node.
| |
| MIN_VALUE | back to summary |
|---|---|
| public static final AccessibleAttribute MIN_VALUE Returns the minimum value for the node.
| |
| MNEMONIC | back to summary |
|---|---|
| public static final AccessibleAttribute MNEMONIC Returns the mnemonic for the node.
| |
| MULTIPLE_SELECTION | back to summary |
|---|---|
| public static final AccessibleAttribute MULTIPLE_SELECTION Returns true if the node allows for multiple selection, otherwise false.
| |
| NODE_AT_POINT | back to summary |
|---|---|
| public static final AccessibleAttribute NODE_AT_POINT Returns the node at the given location.
| |
| OFFSET_AT_POINT | back to summary |
|---|---|
| public static final AccessibleAttribute OFFSET_AT_POINT Returns the character offset at the given location.
| |
| ORIENTATION | back to summary |
|---|---|
| public static final AccessibleAttribute ORIENTATION Returns the orientation of the node.
| |
| OVERFLOW_BUTTON | back to summary |
|---|---|
| public static final AccessibleAttribute OVERFLOW_BUTTON Return the overflow button for the node.
| |
| PARENT | back to summary |
|---|---|
| public static final AccessibleAttribute PARENT Returns the parent for the node.
| |
| PARENT_MENU | back to summary |
|---|---|
| public static final AccessibleAttribute PARENT_MENU Returns the parent menu for the node.
| |
| returnClass | back to summary |
|---|---|
| private Class<?> returnClass | |
| ROLE | back to summary |
|---|---|
| public static final AccessibleAttribute ROLE Returns the role for the node.
| |
| ROLE_DESCRIPTION | back to summary |
|---|---|
| public static final AccessibleAttribute ROLE_DESCRIPTION Returns the role description for the node.
| |
| ROW_AT_INDEX | back to summary |
|---|---|
| public static final AccessibleAttribute ROW_AT_INDEX Returns the row at the given index. | |
| ROW_COUNT | back to summary |
|---|---|
| public static final AccessibleAttribute ROW_COUNT Returns the row count for the node.
| |
| ROW_INDEX | back to summary |
|---|---|
| public static final AccessibleAttribute ROW_INDEX Returns the row index of the node.
| |
| SCENE | back to summary |
|---|---|
| public static final AccessibleAttribute SCENE Returns the scene for the node.
| |
| SELECTED | back to summary |
|---|---|
| public static final AccessibleAttribute SELECTED Returns true if the node is selected, otherwise false.
| |
| SELECTED_ITEMS | back to summary |
|---|---|
| public static final AccessibleAttribute SELECTED_ITEMS Returns the list of selected items for the node.
| |
| SELECTION_END | back to summary |
|---|---|
| public static final AccessibleAttribute SELECTION_END Returns the text selection end offset for the node. Selection end corresponds to the larger position in the selection range.
| |
| SELECTION_START | back to summary |
|---|---|
| public static final AccessibleAttribute SELECTION_START Returns the text selection start offset for the node. Selection start corresponds to the smaller position in the selection range.
| |
| SUBMENU | back to summary |
|---|---|
| public static final AccessibleAttribute SUBMENU Returns the sub menu for the node.
| |
| TEXT | back to summary |
|---|---|
| public static final AccessibleAttribute TEXT Returns the text for the node. E.g.
| |
| TOGGLE_STATE | back to summary |
|---|---|
| public static final AccessibleAttribute TOGGLE_STATE Returns
| |
| TREE_ITEM_AT_INDEX | back to summary |
|---|---|
| public static final AccessibleAttribute TREE_ITEM_AT_INDEX Returns a tree item at the given index, relative to its TREE_ITEM_PARENT. | |
| TREE_ITEM_COUNT | back to summary |
|---|---|
| public static final AccessibleAttribute TREE_ITEM_COUNT Returns the tree item count for the node, relative to its TREE_ITEM_PARENT.
| |
| TREE_ITEM_PARENT | back to summary |
|---|---|
| public static final AccessibleAttribute TREE_ITEM_PARENT Returns the parent item for the item, or null if the item is the root.
| |
| VALUE | back to summary |
|---|---|
| public static final AccessibleAttribute VALUE Returns the value for the node.
| |
| VALUE_STRING | back to summary |
|---|---|
| public static final AccessibleAttribute VALUE_STRING Returns the value as string for the node.
| |
| VERTICAL_SCROLLBAR | back to summary |
|---|---|
| public static final AccessibleAttribute VERTICAL_SCROLLBAR Returns the vertical scroll bar for the node.
| |
| VISIBLE | back to summary |
|---|---|
| public static final AccessibleAttribute VISIBLE Returns true if node is visible, otherwise false.
| |
| VISITED | back to summary |
|---|---|
| public static final AccessibleAttribute VISITED Returns true if the node has been visited, otherwise false.
| |
| AccessibleAttribute | back to summary |
|---|---|
| private AccessibleAttribute(Class<?> returnClass) | |
| getReturnType | back to summary |
|---|---|
| public Class Gets the type of
| |
| valueOf | back to summary |
|---|---|
| public static AccessibleAttribute valueOf(String name) | |
| values | back to summary |
|---|---|
| public static AccessibleAttribute[] values() | |
TOGGLE_STATE attribute.
| Modifier and Type | Field and Description |
|---|---|
| public static final AccessibleAttribute. | CHECKED
Indicates that the toggle control is selected. |
| public static final AccessibleAttribute. | INDETERMINATE
Indicates that the toggle state of the control cannot be determined. |
| public static final AccessibleAttribute. | UNCHECKED
Indicates that the toggle control is not selected. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static AccessibleAttribute. | |
| public static AccessibleAttribute. |
| CHECKED | back to summary |
|---|---|
| public static final AccessibleAttribute. Indicates that the toggle control is selected. | |
| INDETERMINATE | back to summary |
|---|---|
| public static final AccessibleAttribute. Indicates that the toggle state of the control cannot be determined. | |
| UNCHECKED | back to summary |
|---|---|
| public static final AccessibleAttribute. Indicates that the toggle control is not selected. | |
| ToggleState | back to summary |
|---|---|
| private ToggleState() | |
| valueOf | back to summary |
|---|---|
| public static AccessibleAttribute. | |
| values | back to summary |
|---|---|
| public static AccessibleAttribute. | |