AccessibleActionListener

Classes which implement this interface provide methods that handle AccessibleAction events. <p> After creating an instance of a class that implements this interface it can be added to an accessible using the <code>addAccessibleActionListener</code> method and removed using the <code>removeAccessibleActionListener</code> method. </p>

@see AccessibleActionAdapter @see AccessibleActionEvent

@since 3.6

Members

Functions

doAction
void doAction(AccessibleActionEvent e)

Performs the specified action on the object.

getActionCount
void getActionCount(AccessibleActionEvent e)

Returns the number of accessible actions available in this object. <p> If there are more than one, the first one (index 0) is considered the "default" action of the object. </p>

getDescription
void getDescription(AccessibleActionEvent e)

Returns a description of the specified action.

getKeyBinding
void getKeyBinding(AccessibleActionEvent e)

Returns a string representing one or more key bindings, if there are any, associated with the specified action. <p> The returned string is of the following form: mnemonic;accelerator for example: "C;CTRL+C" for the Copy item in a typical Edit menu. </p>

getName
void getName(AccessibleActionEvent e)

Returns the name of the specified action. <p> There is no need to implement this method for single action controls since that would be redundant with AccessibleControlListener.getDefaultAction. </p>

Meta