|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanetj.dataengine.action.ActionManager
The ActionManager manages what actions are registered.
Constructor Summary | |
protected |
ActionManager()
ActionManager constructor. |
Method Summary | |
AbstractAction |
getAction(java.lang.String type,
java.lang.String name)
Gets the action for the given action type and name. |
ActionDescriptor |
getDefaultDescriptor(java.lang.String actionType,
java.lang.String actionName)
Gets the default registered descriptor for the given display type, action name, and action type. |
void |
registerAction(java.lang.String type,
java.lang.String name,
AbstractAction action)
Puts the action for the given action type and name. |
void |
registerDefaultDescriptor(java.lang.String actionType,
java.lang.String actionName,
ActionDescriptor descriptor)
Puts the action for the given action type and name. |
static void |
setSingleton(ActionManager actionMgr)
Allows a subclass of the ActionManager to be set as the singleton instance. |
static ActionManager |
singleton()
Gets the singleton instance of the ActionManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected ActionManager()
Method Detail |
public AbstractAction getAction(java.lang.String type, java.lang.String name)
public ActionDescriptor getDefaultDescriptor(java.lang.String actionType, java.lang.String actionName)
public void registerAction(java.lang.String type, java.lang.String name, AbstractAction action)
public void registerDefaultDescriptor(java.lang.String actionType, java.lang.String actionName, ActionDescriptor descriptor)
public static void setSingleton(ActionManager actionMgr)
actionMgr
- new singleton instancepublic static ActionManager singleton()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |