|
Eclipse Rich Ajax Platform Release 1.3 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.swt.accessibility.AccessibleActionAdapter
This adapter class provides default implementations for the
methods in the 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
Constructor Summary | |
AccessibleActionAdapter()
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AccessibleActionAdapter()
Method Detail |
public void getActionCount(AccessibleActionEvent e)
If there are more than one, the first one (index 0) is considered the "default" action of the object.
getActionCount
in interface AccessibleActionListener
e
- an event object containing the following fields:public void doAction(AccessibleActionEvent e)
doAction
in interface AccessibleActionListener
e
- an event object containing the following fields:ACC.OK
if the action was performed.public void getDescription(AccessibleActionEvent e)
getDescription
in interface AccessibleActionListener
e
- an event object containing the following fields:public 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.
getKeyBinding
in interface AccessibleActionListener
e
- an event object containing the following fields:public void getName(AccessibleActionEvent e)
There is no need to implement this method for single action controls since that would be redundant with AccessibleControlListener.getDefaultAction.
getName
in interface AccessibleActionListener
e
- an event object containing the following fields:
|
Eclipse Rich Ajax Platform Release 1.3 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) Innoopract Informationssysteme GmbH and others 2002, 2011. All rights reserved.