Class ToolbarMerge
- java.lang.Object
-
- com.inductiveautomation.ignition.designer.model.menu.AbstractMenuMerge
-
- com.inductiveautomation.ignition.designer.model.menu.ToolbarMerge
-
- All Implemented Interfaces:
IMenuMergeModel
public class ToolbarMerge extends AbstractMenuMerge
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.ignition.designer.model.menu.AbstractMenuMerge
currentImplicitGroup, displayKey, groups, icon, log, menuId, name
-
-
Constructor Summary
Constructors Constructor Description ToolbarMerge(java.lang.String name)Creates a toolbar merge for the given named toolbarToolbarMerge(java.lang.String name, java.lang.String display)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int separatorGroup, IMenuMergeModel item)Adds a new menu merge model to the specified group numbervoidadd(int separatorGroup, javax.swing.AbstractButton button)voidadd(int separatorGroup, javax.swing.Action action)Adds a new action, wrapped in aActionMenuItemMerge, to the specified group numbervoidadd(javax.swing.AbstractButton button)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.-
Methods inherited from class com.inductiveautomation.ignition.designer.model.menu.AbstractMenuMerge
add, add, addSeparator, getMenuId, getName, install, iterate, setMenuId, uninstall
-
-
-
-
Method Detail
-
add
public void add(int separatorGroup, IMenuMergeModel item)Description copied from class:AbstractMenuMergeAdds a new menu merge model to the specified group number- Overrides:
addin classAbstractMenuMerge
-
add
public void add(javax.swing.AbstractButton button)
-
add
public void add(int separatorGroup, javax.swing.AbstractButton button)
-
add
public void add(int separatorGroup, javax.swing.Action action)Description copied from class:AbstractMenuMergeAdds a new action, wrapped in aActionMenuItemMerge, to the specified group number- Overrides:
addin classAbstractMenuMerge
-
addSeparator
protected 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 classAbstractMenuMerge
-
createMenu
public 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 classAbstractMenuMerge
-
-