|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AccessibleAction
If an object implements this interface then it must be able to perform one or more actions. Accessibility software can use the implementations of this interface to discover and perform actions on an object.
The AccessibleContext.getAccessibleAction()
method should
return null
if an object does not implement this interface.
Accessible
,
AccessibleContext
,
AccessibleContext.getAccessibleAction()
Field Summary | |
---|---|
static String |
CLICK
The name of an action which causes a component to perform its default action. |
static String |
DECREMENT
The name of an action which decrements a value. |
static String |
INCREMENT
The name of an action which increments a value. |
static String |
TOGGLE_EXPAND
The name of an action which toggles the expansion of a tree node. |
static 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. |
Method Summary | |
---|---|
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. |
String |
getAccessibleActionDescription(int i)
Get a description for the specified action. |
Field Detail |
---|
static final String DECREMENT
static final String INCREMENT
static final String TOGGLE_EXPAND
static final String CLICK
static final String TOGGLE_POPUP
Method Detail |
---|
int getAccessibleActionCount()
String getAccessibleActionDescription(int i)
i
- the action to describe, 0-based
boolean doAccessibleAction(int i)
i
- the action to perform, 0-based
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |