|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ActionFactory
Defines the factory for components based on actions.
| Method Summary | |
|---|---|
Action |
createAction(ActionContext actionContext,
GUIAction action,
IconSize iconSize)
Creates a Swing Action from a GUIAction. |
JButtonBar |
createButtonBar(ActionBarContext actionBarContext)
Creates a button bar from a list of actions |
JMenuBar |
createMenuBar(ActionContextPathList menuBarContext)
Creates a menu bar |
JPopupMenu |
createPopupMenu(ActionBarContext actionBarContext)
Creates a pop-up menu from an action group. |
JToolBar |
createToolBar(ActionBarContext actionBarContext)
Creates a tool bar from an action group. |
void |
installAction(MenuBuilder menuBuilder,
ActionPath actionPath,
ActionContext actionContext)
Installs an action path |
| Method Detail |
|---|
Action createAction(ActionContext actionContext,
GUIAction action,
IconSize iconSize)
Action from a GUIAction.
actionContext - Action contextaction - Associated GUIActioniconSize - Desired icon size
ActionJMenuBar createMenuBar(ActionContextPathList menuBarContext)
menuBarContext - Menu bar description
JButtonBar createButtonBar(ActionBarContext actionBarContext)
actionBarContext - The action bar context
JPopupMenu createPopupMenu(ActionBarContext actionBarContext)
actionBarContext - The action bar context
JToolBar createToolBar(ActionBarContext actionBarContext)
actionBarContext - The action bar context
void installAction(MenuBuilder menuBuilder,
ActionPath actionPath,
ActionContext actionContext)
menuBuilder - Menu builderactionPath - Action path to installactionContext - Action context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||