Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
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:See Also:

Method Summary

booleandoAccessibleAction(int i)

Perform the specified action.
intgetAccessibleActionCount()

Get the number possible actions for this object, with the zeroth representing the default action.
java.lang.StringgetAccessibleActionDescription(int i)

Get a description for the specified action.

Method Details

doAccessibleAction

public boolean doAccessibleAction(int i)

Perform the specified action. Does nothing if out of bounds.

Parameters:

Returns:


getAccessibleActionCount

public int getAccessibleActionCount()

Get the number possible actions for this object, with the zeroth representing the default action.

Returns:


getAccessibleActionDescription

public String getAccessibleActionDescription(int i)

Get a description for the specified action. Returns null if out of bounds.

Parameters:

Returns: