javax.accessibility
Interface AccessibleAction
java.lang.Object
|
+--javax.accessibility.AccessibleAction
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:Author:- Eric Blake <ebb9@email.byu.edu>
See Also:
doAccessibleAction
public boolean doAccessibleAction(int i)
Perform the specified action. Does nothing if out of bounds.
Parameters:
Returns:
- true if the action was performed
getAccessibleActionCount
public int getAccessibleActionCount()
Get the number possible actions for this object, with the zeroth
representing the default action.
Returns:
- the 0-based number of actions
getAccessibleActionDescription
public String getAccessibleActionDescription(int i)
Get a description for the specified action. Returns null if out of
bounds.
Parameters:
Returns:
- description of the action
The
AccessibleContext.getAccessibleAction()
method should returnnull
if an object does not implement this interface.