|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcsheets.ui.ctrl.ActionManager
public class ActionManager
A manager for UI actions.
| Nested Class Summary | |
|---|---|
class |
ActionManager.ActionEnabler
A workbook listener that sets the enabled state of actoins depending on whether the current workbook has been modified and/or is stored in a file. |
| Constructor Summary | |
|---|---|
ActionManager(CleanSheets app,
UIController uiController,
FileChooser chooser)
Creates a new action manager. |
|
| Method Summary | |
|---|---|
BaseAction |
getAction(String identifier)
Returns the action with the given identifier |
void |
registerAction(String identifier,
BaseAction action)
Registers the given action with the manager |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionManager(CleanSheets app,
UIController uiController,
FileChooser chooser)
app - the CleanSheets applicationuiController - the user interface controllerchooser - a file chooser| Method Detail |
|---|
public BaseAction getAction(String identifier)
identifier - the unique identifier of the action
public void registerAction(String identifier,
BaseAction action)
identifier - the unique identifier of the actionaction - the action to register
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||