- All Implemented Interfaces:
- Serializable,- Comparable<AccessibleRole>,- Constable
public enum AccessibleRole extends Enum<AccessibleRole>
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.- 
Nested Class SummaryNested classes/interfaces declared in class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants Enum Constant Description BUTTONButton role.CHECK_BOXCheck Box role.CHECK_MENU_ITEMCheck Menu Item role.COMBO_BOXCombo Box role.CONTEXT_MENUContext Menu role.DATE_PICKERDate Picker role.DECREMENT_BUTTONDecrement Button role.HYPERLINKHyperlink role.IMAGE_VIEWImage View role.INCREMENT_BUTTONIncrement Button role.LIST_ITEMList Item role.LIST_VIEWList View role.MENUMenu role.MENU_BARMenu Bar role.MENU_BUTTONMenu Button role.MENU_ITEMMenu Item role.NODENode role.PAGE_ITEMPage role.PAGINATIONPagination role.PARENTParent role.PASSWORD_FIELDPassword Field role.PROGRESS_INDICATORProgress Indicator role.RADIO_BUTTONRadio Button role.RADIO_MENU_ITEMRadio Menu Item role.SCROLL_BARScroll Bar role.SCROLL_PANEScroll Pane role.SLIDERSlider role.SPINNERSpinner role.SPLIT_MENU_BUTTONSplit Menu Button role.TAB_ITEMTab Item role.TAB_PANETab Pane role.TABLE_CELLTable Cell role.TABLE_COLUMNTable Column role.TABLE_ROWTable Row role.TABLE_VIEWTable View role.TEXTText role.TEXT_AREAText Area role.TEXT_FIELDText Field role.THUMBThumb role.TITLED_PANETitled Pane role.TOGGLE_BUTTONToggle Button role.TOOL_BARTool Bar role.TOOLTIPTooltip role.TREE_ITEMTree Item role.TREE_TABLE_CELLTree Table Cell role.TREE_TABLE_ROWTree Table Row role.TREE_TABLE_VIEWTree Table View role.TREE_VIEWTree View role.
- 
Method SummaryModifier and Type Method Description static AccessibleRolevalueOf(String name)Returns the enum constant of this type with the specified name.static AccessibleRole[]values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
BUTTON
- 
CHECK_BOXCheck Box role.Attributes: Actions:
- 
CHECK_MENU_ITEMCheck Menu Item role.Attributes: Actions:
- 
COMBO_BOXCombo Box role.Attributes: Actions:
- 
CONTEXT_MENUContext Menu role.Attributes: 
- 
DATE_PICKERDate Picker role.Attributes: 
- 
DECREMENT_BUTTON
- 
HYPERLINKHyperlink role. Actions:
- 
INCREMENT_BUTTON
- 
IMAGE_VIEWImage View role.Attributes: Actions: It is strongly recommended that a text description of the image be provided for each ImageView. This can be done by setting eitherNode.accessibleTextProperty()for theImageViewor by usingAccessibleAttribute.LABELED_BY.
- 
LIST_VIEW
- 
LIST_ITEMList Item role.Attributes: Actions:
- 
MENU
- 
MENU_BARMenu Bar role.Attributes: Actions: 
- 
MENU_BUTTON
- 
MENU_ITEMMenu Item role.Attributes: Actions:
- 
NODENode role.Attributes: -  AccessibleAttribute.ROLE
-  AccessibleAttribute.PARENT
-  AccessibleAttribute.SCENE
-  AccessibleAttribute.BOUNDS
-  AccessibleAttribute.DISABLED
-  AccessibleAttribute.FOCUSED
-  AccessibleAttribute.VISIBLE
 
-  
- 
PAGE_ITEMPage role.Attributes: Actions:
- 
PAGINATIONPagination role.Attributes: Actions:
- 
PARENTParent role.Attributes: Actions:
- 
PASSWORD_FIELDPassword Field role.Attributes: -  AccessibleAttribute.TEXT- must return null or empty string
 
-  
- 
PROGRESS_INDICATORProgress Indicator role.Attributes: Actions:
- 
RADIO_BUTTONRadio Button role.Attributes: Actions:
- 
RADIO_MENU_ITEMRadio Menu Item role.Attributes: Actions:
- 
SLIDER
- 
SPINNERSpinner role.Attributes: Actions:
- 
TEXTText role.Attributes: Actions:
- 
TEXT_AREAText Area role.Attributes: -  AccessibleAttribute.TEXT
-  AccessibleAttribute.FONT
-  AccessibleAttribute.EDITABLE
-  AccessibleAttribute.SELECTION_START
-  AccessibleAttribute.SELECTION_END
-  AccessibleAttribute.CARET_OFFSET
-  AccessibleAttribute.OFFSET_AT_POINT
-  AccessibleAttribute.LINE_START
-  AccessibleAttribute.LINE_END
-  AccessibleAttribute.LINE_FOR_OFFSET
-  AccessibleAttribute.BOUNDS_FOR_RANGE
 
-  
- 
TEXT_FIELD
- 
TOGGLE_BUTTONToggle Button role.Attributes: Actions:
- 
TOOLTIPTooltip role.Attributes: Actions: 
- 
SCROLL_BARScroll Bar role.Attributes: Actions:
- 
SCROLL_PANEScroll Pane role.Attributes: Actions:
- 
SPLIT_MENU_BUTTONSplit Menu Button role.Attributes: Actions:
- 
TAB_ITEMTab Item role.Attributes: Actions:
- 
TAB_PANETab Pane role.Attributes: Actions:
- 
TABLE_CELLTable Cell role.Attributes: Actions:
- 
TABLE_COLUMNTable Column role.Attributes: Actions:
- 
TABLE_ROWTable Row role.Attributes: Actions:
- 
TABLE_VIEWTable View role.Attributes: -  AccessibleAttribute.ROW_COUNT
-  AccessibleAttribute.ROW_AT_INDEX
-  AccessibleAttribute.COLUMN_COUNT
-  AccessibleAttribute.COLUMN_AT_INDEX
-  AccessibleAttribute.SELECTED_ITEMS
-  AccessibleAttribute.CELL_AT_ROW_COLUMN
-  AccessibleAttribute.HEADER
-  AccessibleAttribute.MULTIPLE_SELECTION
-  AccessibleAttribute.VERTICAL_SCROLLBAR
-  AccessibleAttribute.HORIZONTAL_SCROLLBAR
-  AccessibleAttribute.FOCUS_ITEM
 
-  
- 
THUMBThumb role.Attributes: Actions:
- 
TITLED_PANETitled Pane role.Attributes: Actions:
- 
TOOL_BARTool Bar role.Attributes: Actions:
- 
TREE_ITEMTree Item role.Attributes: Actions:
- 
TREE_TABLE_CELLTree Table Cell role.Attributes: Actions:
- 
TREE_TABLE_ROW
- 
TREE_TABLE_VIEWTree Table View role.Attributes: -  AccessibleAttribute.ROW_COUNT
-  AccessibleAttribute.ROW_AT_INDEX
-  AccessibleAttribute.COLUMN_COUNT
-  AccessibleAttribute.COLUMN_AT_INDEX
-  AccessibleAttribute.SELECTED_ITEMS
-  AccessibleAttribute.CELL_AT_ROW_COLUMN
-  AccessibleAttribute.HEADER
-  AccessibleAttribute.MULTIPLE_SELECTION
-  AccessibleAttribute.VERTICAL_SCROLLBAR
-  AccessibleAttribute.HORIZONTAL_SCROLLBAR
-  AccessibleAttribute.FOCUS_ITEM
 
-  
- 
TREE_VIEW
 
- 
- 
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
 
 
-