public interface AccessibleAction
The AccessibleContext.getAccessibleAction() method should
return null if an object does not implement this interface.
Accessible,
AccessibleContext,
AccessibleContext.getAccessibleAction()| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLICK
The name of an action which causes a component to perform its default
action.
|
static java.lang.String |
DECREMENT
The name of an action which decrements a value.
|
static java.lang.String |
INCREMENT
The name of an action which increments a value.
|
static java.lang.String |
TOGGLE_EXPAND
The name of an action which toggles the expansion of a tree node.
|
static java.lang.String |
TOGGLE_POPUP
The name of an action which toggles the state of a popup, causing a
hidden popup to be displayed and a visible popup to be hidden.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
doAccessibleAction(int i)
Perform the specified action.
|
int |
getAccessibleActionCount()
Get the number possible actions for this object, with the zeroth
representing the default action.
|
java.lang.String |
getAccessibleActionDescription(int i)
Get a description for the specified action.
|
static final java.lang.String DECREMENT
static final java.lang.String INCREMENT
static final java.lang.String TOGGLE_EXPAND
static final java.lang.String CLICK
static final java.lang.String TOGGLE_POPUP
int getAccessibleActionCount()
java.lang.String getAccessibleActionDescription(int i)
i - the action to describe, 0-basedboolean doAccessibleAction(int i)
i - the action to perform, 0-based