|
Eclipse Remote Application Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AccessibleActionListener
Classes which implement this interface provide methods that handle AccessibleAction events.
After creating an instance of a class that implements
this interface it can be added to an accessible using the
addAccessibleActionListener
method and removed using
the removeAccessibleActionListener
method.
AccessibleActionAdapter
,
AccessibleActionEvent
Method Summary | |
---|---|
void |
doAction(AccessibleActionEvent e)
Performs the specified action on the object. |
void |
getActionCount(AccessibleActionEvent e)
Returns the number of accessible actions available in this object. |
void |
getDescription(AccessibleActionEvent e)
Returns a description of the specified action. |
void |
getKeyBinding(AccessibleActionEvent e)
Returns a string representing one or more key bindings, if there are any, associated with the specified action. |
void |
getName(AccessibleActionEvent e)
Returns the name of the specified action. |
Method Detail |
---|
void getActionCount(AccessibleActionEvent e)
If there are more than one, the first one (index 0) is considered the "default" action of the object.
e
- an event object containing the following fields:void doAction(AccessibleActionEvent e)
e
- an event object containing the following fields:ACC.OK
if the action was performed.void getDescription(AccessibleActionEvent e)
e
- an event object containing the following fields:void getKeyBinding(AccessibleActionEvent e)
The returned string is of the following form: mnemonic;accelerator for example: "C;CTRL+C" for the Copy item in a typical Edit menu.
e
- an event object containing the following fields:void getName(AccessibleActionEvent e)
There is no need to implement this method for single action controls since that would be redundant with AccessibleControlListener.getDefaultAction.
e
- an event object containing the following fields:
|
Eclipse Remote Application Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) EclipseSource and others 2002, 2013. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0