AccessibleActionListener interface.
Classes that wish to deal with AccessibleAction events can
extend this class and override only the methods that they are
interested in.
AccessibleActionListener, AccessibleActionEvent
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | doAction(AccessibleActionEvent
an event object containing the following fields: e)
Implements org. |
| public void | getActionCount(AccessibleActionEvent
an event object containing the following fields: e)
Implements org. |
| public void | getDescription(AccessibleActionEvent
an event object containing the following fields: e)
Implements org. |
| public void | getKeyBinding(AccessibleActionEvent
an event object containing the following fields: e)
Implements org. |
| public void | getName(AccessibleActionEvent
an event object containing the following fields: e)
Implements org. |
| AccessibleActionAdapter | back to summary |
|---|---|
| public AccessibleActionAdapter() | |
| doAction | back to summary |
|---|---|
| public void doAction(AccessibleActionEvent e) Implements org. Performs the specified action on the object.
| |
| getActionCount | back to summary |
|---|---|
| public void getActionCount(AccessibleActionEvent e) Implements org. Returns the number of accessible actions available in this object. If there are more than one, the first one (index 0) is considered the "default" action of the object.
| |
| getDescription | back to summary |
|---|---|
| public void getDescription(AccessibleActionEvent e) Implements org. Returns a description of the specified action.
| |
| getKeyBinding | back to summary |
|---|---|
| public void getKeyBinding(AccessibleActionEvent e) Implements org. Returns a string representing one or more key bindings, if there are any, associated with the specified action. The returned string is of the following form: mnemonic;accelerator for example: "C;CTRL+C" for the Copy item in a typical Edit menu.
| |
| getName | back to summary |
|---|---|
| public void getName(AccessibleActionEvent e) Implements org. Returns the name of the specified action. There is no need to implement this method for single action controls since that would be redundant with AccessibleControlListener.getDefaultAction.
| |