Top Description Fields Constructors Methods
javafx.scene

public final Enum AccessibleAction

extends Enum<AccessibleAction>
Class Inheritance

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
Node#executeAccessibleAction(AccessibleAction, Object...), AccessibleRole, AccessibleAttribute#ROLE

Field Summary

Modifier and TypeField and Description
public static final AccessibleAction
BLOCK_DECREMENT

Request that the node be decremented by a large value.

public static final AccessibleAction
BLOCK_INCREMENT

Request that the node be incremented by a large value.

public static final AccessibleAction
COLLAPSE

Request that the node should become collapsed.

public static final AccessibleAction
DECREMENT

Request that the node be decremented by a small value.

public static final AccessibleAction
EXPAND

Request that the node should become expanded.

public static final AccessibleAction
FIRE

Fires the primary action for the node.

public static final AccessibleAction
INCREMENT

Request that the node be incremented by a small value.

public static final AccessibleAction
REQUEST_FOCUS

Request that the node take focus.

public static final AccessibleAction
SET_SELECTED_ITEMS

Request the node to set the selection to a list of items.

public static final AccessibleAction
SET_TEXT

Request the node to set the current text.

public static final AccessibleAction
SET_TEXT_SELECTION

Request the node to set the selection to range of text.

public static final AccessibleAction
SET_VALUE

Request the node to set the current value.

public static final AccessibleAction
SHOW_ITEM

Request the node to show an item, scrolling if required.

public static final AccessibleAction
SHOW_MENU

Request the node to show a menu.

public static final AccessibleAction
SHOW_TEXT_RANGE

Request the node to show a text range, scrolling if required.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static AccessibleAction
public static AccessibleAction[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

BLOCK_DECREMENTback to summary
public static final AccessibleAction BLOCK_DECREMENT

Request that the node be decremented by a large value. A smaller decrement is requested using DECREMENT.

Used by Slider, ScrollBar, and others

BLOCK_INCREMENTback to summary
public static final AccessibleAction BLOCK_INCREMENT

Request that the node be incremented by a large value. A smaller increment is requested using INCREMENT.

Used by Slider, ScrollBar, and others

COLLAPSEback to summary
public static final AccessibleAction COLLAPSE

Request that the node should become collapsed.

Used by TreeItem, TitledPane, and others

DECREMENTback to summary
public static final AccessibleAction DECREMENT

Request that the node be decremented by a small value. A larger decrement is requested using BLOCK_DECREMENT.

Used by Slider, ScrollBar, and others

EXPANDback to summary
public static final AccessibleAction EXPAND

Request that the node should become expanded.

Used by TreeItem, TitledPane, and others

FIREback to summary
public static final AccessibleAction FIRE

Fires 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

INCREMENTback to summary
public static final AccessibleAction INCREMENT

Request that the node be incremented by a small value. A larger increment is requested using BLOCK_INCREMENT.

Used by Slider, ScrollBar, and others

REQUEST_FOCUSback to summary
public static final AccessibleAction REQUEST_FOCUS

Request that the node take focus. By default, a node will request focus using javafx.scene.Node#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

SET_SELECTED_ITEMSback to summary
public static final AccessibleAction SET_SELECTED_ITEMS

Request the node to set the selection to a list of items.

Used by ListView, TreeView, and others

Parameters:
SET_TEXTback to summary
public static final AccessibleAction SET_TEXT

Request the node to set the current text.

Used by TextField and TextArea.

Parameters:
SET_TEXT_SELECTIONback to summary
public static final AccessibleAction SET_TEXT_SELECTION

Request the node to set the selection to range of text.

Used by TextField and TextArea.

Parameters:
SET_VALUEback to summary
public static final AccessibleAction SET_VALUE

Request the node to set the current value.

Used by Slider, Scrollbars, and others

Parameters:
SHOW_ITEMback to summary
public static final AccessibleAction SHOW_ITEM

Request the node to show an item, scrolling if required.

Used by ListView, TreeView, and others

Parameters:
  • Node the item to show
SHOW_MENUback to summary
public static final AccessibleAction SHOW_MENU

Request 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

SHOW_TEXT_RANGEback to summary
public static final AccessibleAction SHOW_TEXT_RANGE

Request the node to show a text range, scrolling if required.

Used by TextArea.

Parameters:

Constructor Detail

AccessibleActionback to summary
private AccessibleAction()

Method Detail

valueOfback to summary
public static AccessibleAction valueOf(String name)
valuesback to summary
public static AccessibleAction[] values()