|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.genuine.organizer.internal.Item net.sf.genuine.organizer.internal.MenuItem net.sf.genuine.organizer.internal.Menu net.sf.genuine.organizer.internal.MenuBar
Implementation class that belongs to MenuBarBuilder. The menu bar is a menu that has special properties.
Constructor Summary | |
(package private) |
MenuBar()
Empty |
Method Summary | |
(package private) void |
addMenuEntries(Module module,
java.util.List menuEntryElements)
Adds all menu entries from the given list of menu entry elements to this menu. |
(package private) javax.swing.JMenuBar |
createJMenuBar()
Creates the JMenuBar object |
(package private) javax.swing.JMenuItem |
createJMenuItem()
Returns a JMenu instance filled with JMenuItem entries corresponding to the menu / menu items defined by all modules. |
protected GenuineAction |
getAction()
Returns the action instance that is referred to by this objects id by retrieving it from the module. |
protected java.lang.String |
getBehindOfItemId()
This menu item may have declared to be put behind another menu item. |
protected java.lang.String |
getId()
Returns the menu item's id. |
protected java.lang.String |
getInFrontOfItemId()
This menu item may have declared to be put in front of another menu item. |
protected boolean |
isSeparatorBehind()
Returns true if a separator should appear behind this menu item. |
protected boolean |
isSeparatorInFront()
Returns true if a separator should appear in front of this menu item. |
protected boolean |
shouldMenuEntriesShowIcons()
The entries of the menu bar should not show icons. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
MenuBar()
Method Detail |
protected boolean shouldMenuEntriesShowIcons()
shouldMenuEntriesShowIcons
in class Menu
javax.swing.JMenuBar createJMenuBar() throws ConfigurationException
ConfigurationException
void addMenuEntries(Module module, java.util.List menuEntryElements) throws ConfigurationException
ConfigurationException
javax.swing.JMenuItem createJMenuItem() throws ConfigurationException
createJMenuItem
in class MenuItem
ConfigurationException
protected java.lang.String getId()
protected boolean isSeparatorInFront()
protected boolean isSeparatorBehind()
protected java.lang.String getInFrontOfItemId()
protected java.lang.String getBehindOfItemId()
protected GenuineAction getAction() throws ConfigurationException
ConfigurationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |