|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the OPAManager responsible for coordinating Actions in response to events. Implementations should accept OPAActions from modules and store them. Implementations should also listen for changes in the GUI (such as changes in focus by attaching a PropertyChangeListener to the KeyboardFocusManager) and enable/disable registered OPAActions depending on the focussed components ability to respond. Typically, components that can respond to an OPAAction will implement OPACookieJar. This interface defines an object that can hold OPACookie objects. If a focussed GUI component implements OPACookieJar, and it returns OPACookies, these OPACookies will be used by OPAActionManager implementations to determine which registered OPAActions should be enabled/disabled. Every OPAAction supports zero (0) or one (1) OPACookie(s).
Method Summary | |
void |
doAction(OPAAction action)
Fires the execution of a cookie. |
void |
registerAction(OPAAction action)
This accepts an OPAAction and registers it. |
void |
registerBundle(OPAActionBundle bundle)
This accepts an OPAActionBundle and registers all the OPAActions it contains. |
Methods inherited from interface org.opa.core.OPAManager |
load, start, stop |
Method Detail |
public void registerAction(OPAAction action)
public void registerBundle(OPAActionBundle bundle)
public void doAction(OPAAction action)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |