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 void
add(int separatorGroup, IMenuMergeModel item)
Adds a new menu merge model to the specified group numbervoid
add(int separatorGroup, javax.swing.AbstractButton button)
void
add(int separatorGroup, javax.swing.Action action)
Adds a new action, wrapped in aActionMenuItemMerge
, to the specified group numbervoid
add(javax.swing.AbstractButton button)
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.-
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:AbstractMenuMerge
Adds a new menu merge model to the specified group number- Overrides:
add
in 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:AbstractMenuMerge
Adds a new action, wrapped in aActionMenuItemMerge
, to the specified group number- Overrides:
add
in classAbstractMenuMerge
-
addSeparator
protected void addSeparator(javax.swing.JComponent menu)
Description copied from class:AbstractMenuMerge
Subclasses must define how "separator" components get added to the parent menu item.- Specified by:
addSeparator
in classAbstractMenuMerge
-
createMenu
public javax.swing.JComponent createMenu()
Description copied from class:AbstractMenuMerge
Create the parent menu item represented by this object, that all of its children should be contained in.- Specified by:
createMenu
in classAbstractMenuMerge
-
-