|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.genuine.organizer.internal.MenuBarBuilder
Builder that takes the menu bar definitions of all modules one after the other and builds a menu bar incorporating the menu and menu item definitions from all modules.
Constructor Summary | |
(package private) |
MenuBarBuilder()
|
Method Summary | |
(package private) void |
addMenus(Module module,
org.jdom.Element menuBarElement)
Adds the definition of a module by passing both the module and its "menubar" element. |
(package private) javax.swing.JMenuBar |
buildMenuBar()
Creates a new JMenuBar instance and adds all menu entries recursively. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
MenuBarBuilder()
Method Detail |
void addMenus(Module module, org.jdom.Element menuBarElement) throws ConfigurationException
Action
instance is retrieved from the module by
calling the Module's getAction method with the menu item's id.
ConfigurationException
javax.swing.JMenuBar buildMenuBar() throws ConfigurationException
ConfigurationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |