Enum Class AccessibleAction
- All Implemented Interfaces:
- Serializable,- Comparable<AccessibleAction>,- Constable
This enum describes the actions that an assistive technology
 such as a screen reader can request from the scene graph.
 The 
AccessibleRole dictates the set of actions that
 the screen reader will request for a particular control. For
 example, a push button normally fires an event to indicate
 that it was pressed in response to the FIRE action.
 An action may have any number of parameters, depending on the particular action.
- Since:
- JavaFX 8u40
- See Also:
- 
Nested Class SummaryNested classes/interfaces declared in class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionRequest that the node be decremented by a large value.Request that the node be incremented by a large value.Request that the node should become collapsed.Request that the node be decremented by a small value.Request that the node should become expanded.Fires the primary action for the node.Request that the node be incremented by a small value.Request that the node take focus.Request the node to set the selection to a list of items.Request the node to set the current text.Request the node to set the selection to range of text.Request the node to set the current value.Request the node to show an item, scrolling if required.Request the node to show a menu.Request the node to show a text range, scrolling if required.
- 
Method SummaryModifier and TypeMethodDescriptionstatic AccessibleActionReturns the enum constant of this class with the specified name.static AccessibleAction[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
BLOCK_DECREMENTRequest that the node be decremented by a large value. A smaller decrement is requested usingDECREMENT.Used by Slider, ScrollBar, and others 
- 
BLOCK_INCREMENTRequest that the node be incremented by a large value. A smaller increment is requested usingINCREMENT.Used by Slider, ScrollBar, and others 
- 
COLLAPSERequest that the node should become collapsed.Used by TreeItem, TitledPane, and others 
- 
DECREMENTRequest that the node be decremented by a small value. A larger decrement is requested usingBLOCK_DECREMENT.Used by Slider, ScrollBar, and others 
- 
EXPANDRequest that the node should become expanded.Used by TreeItem, TitledPane, and others 
- 
FIREFires the primary action for the node. For example, a push button will normally send an action event to notify listeners that is has been activated.Used by Button, Hyperlink, and others 
- 
INCREMENTRequest that the node be incremented by a small value. A larger increment is requested usingBLOCK_INCREMENT.Used by Slider, ScrollBar, and others 
- 
REQUEST_FOCUSRequest that the node take focus. By default, a node will request focus usingNode.requestFocus(). Both JavaFX and the assistive technology have the concept of a focus node and most of the time, they are the same. In some cases, a control might want the JavaFX focus to remain on the parent, while the assistive technology focus is on the child. For example, a table may respond to this request by setting focus to a cell inside the table before allowing the default to run.Used by Node, TabItem, TableCell and others 
- 
SHOW_ITEMRequest the node to show an item, scrolling if required.Used by ListView, TreeView, and others Parameters:-  Nodethe item to show
 
-  
- 
SHOW_TEXT_RANGE
- 
SET_SELECTED_ITEMSRequest the node to set the selection to a list of items.Used by ListView, TreeView, and others Parameters:-  ObservableList<Node> the items to select
 
-  
- 
SET_TEXT_SELECTION
- 
SET_TEXTRequest the node to set the current text.Used by TextField and TextArea. Parameters:-  Stringthe new text
 
-  
- 
SET_VALUERequest the node to set the current value.Used by Slider, Scrollbars, and others Parameters:-  Doublethe new value
 
-  
- 
SHOW_MENURequest the node to show a menu. If the node is a control, then the context menu for the control is shown. If the node is a menu, then the submenu for the menu is shown.Used by Node, Menu 
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
- NullPointerException- if the argument is null
 
 
-