Package docking.menu

Class ToolBarManager


  • public class ToolBarManager
    extends java.lang.Object
    Manages the actions to be displayed in the toolbar. Organizes them by group.
    • Method Detail

      • clearActions

        public void clearActions()
      • getAction

        public DockingActionIf getAction​(java.lang.String actionName)
      • dispose

        public void dispose()
        Releases all resources. Makes this object unusable.
      • isEmpty

        public boolean isEmpty()
      • getToolBar

        public javax.swing.JComponent getToolBar()
        Returns a component to be used as a toolbar.
        Returns:
        the toolbar component.
      • removeAction

        public void removeAction​(DockingActionIf action)
        Removes the action from the toolbar.
        Parameters:
        action - the action to be removed.