|
|||||||||
| Home >> All >> javax >> [ accessibility overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.accessibility
Interface AccessibleAction

- All Known Implementing Classes:
- AccessibleHyperlink
- 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.
- Since:
- 1.2
| Field Summary | |
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. |
| 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. |
java.lang.String |
getAccessibleActionDescription(int i)
Get a description for the specified action. |
| Field Detail |
DECREMENT
public static final java.lang.String DECREMENT
- The name of an action which decrements a value.
- Since:
- 1.5
- See Also:
- Constant Field Values
INCREMENT
public static final java.lang.String INCREMENT
- The name of an action which increments a value.
- Since:
- 1.5
- See Also:
- Constant Field Values
TOGGLE_EXPAND
public static final java.lang.String TOGGLE_EXPAND
- The name of an action which toggles the expansion of a tree node.
- Since:
- 1.5
- See Also:
- Constant Field Values
| Method Detail |
getAccessibleActionCount
public int getAccessibleActionCount()
- Get the number possible actions for this object, with the zeroth
representing the default action.
getAccessibleActionDescription
public java.lang.String getAccessibleActionDescription(int i)
- Get a description for the specified action. Returns null if out of
bounds.
doAccessibleAction
public boolean doAccessibleAction(int i)
- Perform the specified action. Does nothing if out of bounds.
|
|||||||||
| Home >> All >> javax >> [ accessibility overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC