Class MenuBarMerge
- java.lang.Object
- 
- com.inductiveautomation.ignition.designer.model.menu.AbstractMenuMerge
- 
- com.inductiveautomation.ignition.designer.model.menu.MenuBarMerge
 
 
- 
- All Implemented Interfaces:
- IMenuMergeModel
 
 public class MenuBarMerge extends AbstractMenuMerge Represents the entire menu bar. Used to collect multiple JMenuMerge children into a single MenuMerge. Note that it cannot do somethings like create a new menu, because the JMenuBar is expected to already be created.
- 
- 
Field Summary- 
Fields inherited from class com.inductiveautomation.ignition.designer.model.menu.AbstractMenuMergecurrentImplicitGroup, displayKey, groups, icon, log, menuId, name
 
- 
 - 
Constructor SummaryConstructors Constructor Description MenuBarMerge(java.lang.String menuId)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(JMenuMerge menu)protected voidaddSeparator(javax.swing.JComponent menu)Subclasses must define how "separator" components get added to the parent menu item.javax.swing.JComponentcreateMenu()Create the parent menu item represented by this object, that all of its children should be contained in.javax.swing.JComponentinstall(javax.swing.JComponent menu)Merges this model into the menu.
 
- 
- 
- 
Method Detail- 
addpublic void add(JMenuMerge menu) 
 - 
addSeparatorprotected void addSeparator(javax.swing.JComponent menu) Description copied from class:AbstractMenuMergeSubclasses must define how "separator" components get added to the parent menu item.- Specified by:
- addSeparatorin class- AbstractMenuMerge
 
 - 
createMenupublic javax.swing.JComponent createMenu() Description copied from class:AbstractMenuMergeCreate the parent menu item represented by this object, that all of its children should be contained in.- Specified by:
- createMenuin class- AbstractMenuMerge
 
 - 
installpublic javax.swing.JComponent install(javax.swing.JComponent menu) Description copied from interface:IMenuMergeModelMerges this model into the menu. The JComponent will be either a CommandMenuBar or a JMenu- Specified by:
- installin interface- IMenuMergeModel
- Overrides:
- installin class- AbstractMenuMerge
 
 
- 
 
-