javax.accessibility
Interface AccessibleAction

All Known Implementing Classes:
javax.swing.AbstractButton.AccessibleAbstractButton, java.awt.Button.AccessibleAWTButton, java.awt.Checkbox.AccessibleAWTCheckbox, java.awt.CheckboxMenuItem.AccessibleAWTCheckboxMenuItem, java.awt.Choice.AccessibleAWTChoice, java.awt.MenuItem.AccessibleAWTMenuItem, AccessibleHyperlink, javax.swing.JComboBox.AccessibleJComboBox, javax.swing.text.JTextComponent.AccessibleJTextComponent, javax.swing.JTree.AccessibleJTree.AccessibleJTreeNode

public interface AccessibleAction

Untamed:


Method Summary
 boolean doAccessibleAction(int i)
          Enabled: Performs the specified Action on the object
 int getAccessibleActionCount()
          Enabled: Returns the number of accessible actions available in this object If there are more than one, the first one is considered the "default" action of the object.
 String getAccessibleActionDescription(int i)
          Enabled: Returns a description of the specified action of the object.
 

Method Detail

getAccessibleActionCount

public int getAccessibleActionCount()
Enabled: Returns the number of accessible actions available in this object If there are more than one, the first one is considered the "default" action of the object.

Returns:
the zero-based number of Actions in this object

getAccessibleActionDescription

public String getAccessibleActionDescription(int i)
Enabled: Returns a description of the specified action of the object.

Parameters:
i - zero-based index of the actions
Returns:
a String description of the action
See Also:
getAccessibleActionCount()

doAccessibleAction

public boolean doAccessibleAction(int i)
Enabled: Performs the specified Action on the object

Parameters:
i - zero-based index of actions
Returns:
true if the action was performed; otherwise false.
See Also:
getAccessibleActionCount()


comments?