- All Implemented Interfaces:
- Serializable,- Comparable<AccessibleAttribute>,- Constable
public enum AccessibleAttribute extends Enum<AccessibleAttribute>
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.
 
- Since:
- JavaFX 8u40
- See Also:
- Node.queryAccessibleAttribute(AccessibleAttribute, Object...),- Node.notifyAccessibleAttributeChanged(AccessibleAttribute),- AccessibleRole,- ROLE
- 
Nested Class SummaryNested classes/interfaces declared in class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants Enum Constant Description ACCELERATORReturns the accelerator for the node.BOUNDSReturns the bounds for the node.BOUNDS_FOR_RANGEReturns the array of bounding rectangles for the given character range.CARET_OFFSETReturns the caret offset for the node.CELL_AT_ROW_COLUMNReturns the cell at the given row and column indices.CHILDRENReturns the children for the node.COLUMN_AT_INDEXReturns the column at the given index.COLUMN_COUNTReturns the column count for the node.COLUMN_INDEXReturns the column index for the node.CONTENTSReturns the contents of the node.DATEReturns the local date for the node.DISABLEDReturns true if the node is disabled, otherwise false.DISCLOSURE_LEVELReturns the depth of a row in the disclosure hierarchy.EDITABLEReturns true if the node is editable, otherwise false.EXPANDEDReturns true if the node is expanded, otherwise false.FOCUS_ITEMReturns the focus item.FOCUS_NODEReturns the focus node.FOCUSEDReturns true if the node is focused, otherwise false.FONTReturns the font for the node.HEADERReturns the header for the node.HELPReturns the help text for the node.HORIZONTAL_SCROLLBARReturns the horizontal scroll bar for the node.INDETERMINATEReturns true of the node is indeterminaite, otherwise false.INDEXReturns the index for the node.ITEM_AT_INDEXReturns the item at the given index.ITEM_COUNTReturns the item count for the node.LABELED_BYReturns the node that is the label for this node.LEAFReturns true if the node is a leaf element, otherwise false.LINE_ENDReturns the line end offset of the given line index.LINE_FOR_OFFSETReturns the line index of the given character offset.LINE_STARTReturns the line start offset of the given line index.MAX_VALUEReturns the maximum value for the node.MIN_VALUEReturns the minimum value for the node.MNEMONICReturns the mnemonic for the node.MULTIPLE_SELECTIONReturns true if the node allows for multiple selection, otherwise false.NODE_AT_POINTReturns the node at the given location.OFFSET_AT_POINTReturns the character offset at the given location.ORIENTATIONReturns the orientation of the node.OVERFLOW_BUTTONReturn the overflow button for the node.PARENTReturns the parent for the node.PARENT_MENUReturns the parent menu for the node.ROLEReturns the role for the node.ROLE_DESCRIPTIONReturns the role description for the node.ROW_AT_INDEXReturns the row at the given index.ROW_COUNTReturns the row count for the node.ROW_INDEXReturns the row index of the node.SCENEReturns the scene for the node.SELECTEDReturns true if the node is selected, otherwise false.SELECTED_ITEMSReturns the list of selected items for the node.SELECTION_ENDReturns the text selection end offset for the node.SELECTION_STARTReturns the text selection start offset for the node.SUBMENUReturns the sub menu for the node.TEXTReturns the text for the node.TREE_ITEM_AT_INDEXReturns a tree item at the given index, relative to its TREE_ITEM_PARENT.TREE_ITEM_COUNTReturns the tree item count for the node, relative to its TREE_ITEM_PARENT.TREE_ITEM_PARENTReturns the parent item for the item, or null if the item is the root.VALUEReturns the value for the node.VERTICAL_SCROLLBARReturns the vertical scroll bar for the node.VISIBLEReturns true if node is visible, otherwise false.VISITEDReturns true if the node has been visited, otherwise false.
- 
Method SummaryModifier and Type Method Description Class<?>getReturnType()Gets the type ofAccessibleAttribute.static AccessibleAttributevalueOf(String name)Returns the enum constant of this type with the specified name.static AccessibleAttribute[]values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
ACCELERATORReturns the accelerator for the node.- Used by: Menu, MenuItem, RadioMenuItem, and others
- Needs notify: no
- Return Type: KeyCombination
- Parameters:
 
- 
BOUNDSReturns the bounds for the node.- Used by: Node
- Needs notify: no
- Return Type: Bounds
- Parameters:
 
- 
BOUNDS_FOR_RANGE
- 
CARET_OFFSETReturns the caret offset for the node.- Used by: TextField and TextArea
- Needs notify: no
- Return Type: Integer
- Parameters:
 
- 
CHILDRENReturns the children for the node.- Used by: Parent
- Needs notify: no
- Return Type: ObservableList<Node>
- Parameters:
 
- 
COLUMN_AT_INDEX
- 
CELL_AT_ROW_COLUMN
- 
COLUMN_COUNTReturns the column count for the node.- Used by: TableView and TreeTableView
- Needs notify: no
- Return Type: Integer
- Parameters:
 
- 
COLUMN_INDEXReturns the column index for the node.- Used by: TableCell and TreeTableCell
- Needs notify: no
- Return Type: Integer
- Parameters:
 
- 
CONTENTSReturns the contents of the node.- Used by: ScrollPane
- Needs notify: no
- Return Type: Node
- Parameters:
 
- 
DISABLEDReturns true if the node is disabled, otherwise false.- Used by: Node
- Needs notify: no
- Return Type: Boolean
- Parameters:
 
- 
DISCLOSURE_LEVELReturns the depth of a row in the disclosure hierarchy.- Used by: TreeItem and TreeTableRow
- Needs notify: no
- Return Type: Integer
- Parameters:
 
- 
DATEReturns the local date for the node.- Used by: DatePicker
- Needs notify: no
- Return Type: LocalDate
- Parameters:
 
- 
EDITABLEReturns true if the node is editable, otherwise false.- Used by: TextField, ComboBox, and others
- Needs notify: no
- Return Type: Boolean
- Parameters:
 
- 
EXPANDEDReturns true if the node is expanded, otherwise false.- Used by: TreeItem, TitledPane, and others
- Needs notify: yes
- Return Type: Boolean
- Parameters:
 
- 
FOCUS_ITEMReturns 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. - Used by: ListView, TabPane, and others
- Needs notify: yes
- Return Type: Node
- Parameters:
 
- 
FOCUS_NODEReturns the focus node. Type: NodeWhen this attribute is requested from the Scene, the default implementation returns Scene.focusOwnerProperty().- Used by: Scene
- Needs notify: yes
- Return Type: Node
- Parameters:
 
- 
FOCUSEDReturns true if the node is focused, otherwise false.- Used by: Node
- Needs notify: no
- Return Type: Boolean
- Parameters:
 
- 
FONTReturns the font for the node.- Used by: TextField and TextArea
- Needs notify: no
- Return Type: Font
- Parameters:
 
- 
HEADERReturns the header for the node.- Used by: TableView and TreeTableView
- Needs notify: no
- Return Type: Node
- Parameters:
 
- 
HELPReturns the help text for the node.- Used by: Node
- Needs notify: no
- Return Type: String
- Parameters:
 
- 
HORIZONTAL_SCROLLBARReturns the horizontal scroll bar for the node.- Used by: ListView, ScrollPane, and others
- Needs notify: no
- Return Type: Node
- Parameters:
 
- 
INDETERMINATEReturns true of the node is indeterminaite, otherwise false.- Used by: CheckBox and ProgressIndicator
- Needs notify: yes
- Return Type: Boolean
- Parameters:
 
- 
ITEM_AT_INDEX
- 
ITEM_COUNTReturns the item count for the node.- Used by: TabPane, ListView, and others
- Needs notify: no
- Return Type: Integer
- Parameters:
 
- 
INDEXReturns the index for the node.- Used by: ListItem, TableRow, and others
- Needs notify: no
- Return Type: Integer
- Parameters:
 
- 
LABELED_BY
- 
LEAFReturns true if the node is a leaf element, otherwise false.- Used by: TreeItem and TreeTableRow
- Needs notify: no
- Return Type: Boolean
- Parameters:
 
- 
LINE_END
- 
LINE_FOR_OFFSET
- 
LINE_START
- 
MIN_VALUEReturns the minimum value for the node.- Used by: Slider, ScrollBar, and others
- Needs notify: no
- Return Type: Double
- Parameters:
 
- 
MAX_VALUEReturns the maximum value for the node.- Used by: Slider, ScrollBar, and others
- Needs notify: no
- Return Type: Double
- Parameters:
 
- 
MNEMONICReturns the mnemonic for the node.- Used by: Menu, MenuItem, CheckMenuItem, and others
- Needs notify: no
- Return Type: String
- Parameters:
 
- 
MULTIPLE_SELECTIONReturns true if the node allows for multiple selection, otherwise false.- Used by: ListView, TableView, and others
- Needs notify: no
- Return Type: Boolean
- Parameters:
 
- 
NODE_AT_POINT
- 
OFFSET_AT_POINT
- 
ORIENTATIONReturns the orientation of the node.- Used by: ScrolBar and Slider
- Needs notify: no
- Return Type: Orientation
- Parameters:
 
- 
OVERFLOW_BUTTONReturn the overflow button for the node.- Used by: Toolbar
- Needs notify: no
- Return Type: Node
- Parameters:
 
- 
PARENTReturns the parent for the node.- Used by: Node
- Needs notify: yes
- Return Type: Parent
- Parameters:
 
- 
PARENT_MENUReturns the parent menu for the node.- Used by: ContextMenu
- Needs notify: no
- Return Type: Node
- Parameters:
 
- 
ROLEReturns the role for the node.- Used by: Node
- Needs notify: no
- Return Type: AccessibleRole
- Parameters:
 
- 
ROLE_DESCRIPTIONReturns the role description for the node.- Used by: Node
- Needs notify: no
- Return Type: String
- Parameters:
 
- 
ROW_AT_INDEX
- 
ROW_COUNTReturns the row count for the node.- Used by: TableView, TreeView, and TreeTableView
- Needs notify: no
- Return Type: Integer
- Parameters:
 
- 
ROW_INDEXReturns the row index of the node.- Used by: TableCell, TreeItem, and TreeTableCell
- Needs notify: no
- Return Type: Integer
- Parameters:
 
- 
SCENEReturns the scene for the node.- Used by: Node
- Needs notify: no
- Return Type: Scene
- Parameters:
 
- 
SELECTEDReturns true if the node is selected, otherwise false.- Used by: CheckBox, TreeItem, and others
- Needs notify: no
- Return Type: Boolean
- Parameters:
 
- 
SELECTED_ITEMSReturns the list of selected items for the node.- Used by: ListView, TableView, and others
- Needs notify: no
- Return Type: ObservableList<Node>
- Parameters:
 
- 
SELECTION_ENDReturns the text selection end offset for the node.- Used by: TextField and TextArea
- Needs notify: yes
- Return Type: Integer
- Parameters:
 
- 
SELECTION_STARTReturns the text selection start offset for the node.- Used by: TextField and TextArea
- Needs notify: yes
- Return Type: Integer
- Parameters:
 
- 
SUBMENUReturns the sub menu for the node.- Used by: Menu
- Needs notify: no
- Return Type: Node
- Parameters:
 
- 
TEXTReturns the text for the node. E.g.- ComboBox returns a string representation of the current selected item.
- TextField returns the contents of the text field.
 - Used by: Node
- Needs notify: yes
- Return Type: String
- Parameters:
 
- 
TREE_ITEM_AT_INDEX
- 
TREE_ITEM_COUNTReturns the tree item count for the node, relative to its TREE_ITEM_PARENT.- Used by: TreeItem and TreeTableRow
- Needs notify: no
- Return Type: Integer
- Parameters:
 
- 
TREE_ITEM_PARENTReturns the parent item for the item, or null if the item is the root.- Used by: TreeItem and TreeTableRow
- Needs notify: no
- Return Type: Node
- Parameters:
 
- 
VALUEReturns the value for the node.- Used by: Slider, ScrollBar, Thumb, and others
- Needs notify: yes
- Return Type: Double
- Parameters:
 
- 
VERTICAL_SCROLLBARReturns the vertical scroll bar for the node.- Used by: ListView, ScrollPane, and others
- Needs notify: no
- Return Type: Node
- Parameters:
 
- 
VISIBLEReturns true if node is visible, otherwise false.- Used by: Node and ContextMenu
- Needs notify: yes
- Return Type: Boolean
- Parameters:
 
- 
VISITEDReturns true if the node has been visited, otherwise false.- Used by: Hyperlink
- Needs notify: no
- Return Type: Boolean
- Parameters:
 
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
getReturnTypeGets the type ofAccessibleAttribute.- Returns:
- the type of AccessibleAttribute
 
 
-