public class MenuBarMerge extends AbstractMenuMerge
currentImplicitGroup, displayKey, groups, icon, log, menuId, name
Constructor and Description |
---|
MenuBarMerge(java.lang.String menuId) |
Modifier and Type | Method and Description |
---|---|
void |
add(JMenuMerge menu) |
protected void |
addSeparator(javax.swing.JComponent menu)
Subclasses must define how "separator" components get added to the parent menu item.
|
javax.swing.JComponent |
createMenu()
Create the parent menu item represented by this object, that all of its children should be contained in.
|
javax.swing.JComponent |
install(javax.swing.JComponent menu)
Merges this model into the menu.
|
public void add(JMenuMerge menu)
protected void addSeparator(javax.swing.JComponent menu)
AbstractMenuMerge
addSeparator
in class AbstractMenuMerge
public javax.swing.JComponent createMenu()
AbstractMenuMerge
createMenu
in class AbstractMenuMerge
public javax.swing.JComponent install(javax.swing.JComponent menu)
IMenuMergeModel
install
in interface IMenuMergeModel
install
in class AbstractMenuMerge