Class ToolbarMerge

    • Constructor Summary

      Constructors 
      Constructor Description
      ToolbarMerge​(java.lang.String name)
      Creates a toolbar merge for the given named toolbar
      ToolbarMerge​(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 number
      void add​(int separatorGroup, javax.swing.AbstractButton button)  
      void add​(int separatorGroup, javax.swing.Action action)
      Adds a new action, wrapped in a ActionMenuItemMerge, to the specified group number
      void 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 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ToolbarMerge

        public ToolbarMerge​(java.lang.String name)
        Creates a toolbar merge for the given named toolbar
      • ToolbarMerge

        public ToolbarMerge​(java.lang.String name,
                            java.lang.String display)
    • Method Detail

      • add

        public void add​(javax.swing.AbstractButton button)
      • add

        public void add​(int separatorGroup,
                        javax.swing.AbstractButton button)
      • 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 class AbstractMenuMerge
      • 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 class AbstractMenuMerge