Package docking.menu
Class ToolBarManager
java.lang.Object
docking.menu.ToolBarManager
Manages the actions to be displayed in the toolbar. Organizes them by group.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAction
(DockingActionIf action) void
void
dispose()
Releases all resources.Returns a component to be used as a toolbar.boolean
isEmpty()
void
removeAction
(DockingActionIf action) Removes the action from the toolbar.
-
Constructor Details
-
ToolBarManager
-
-
Method Details
-
clearActions
public void clearActions() -
addAction
-
getAction
-
dispose
public void dispose()Releases all resources. Makes this object unusable. -
isEmpty
public boolean isEmpty() -
getToolBar
Returns a component to be used as a toolbar.- Returns:
- the toolbar component.
-
removeAction
Removes the action from the toolbar.- Parameters:
action
- the action to be removed.
-