Package docking.menu
Class MenuBarManager
java.lang.Object
docking.menu.MenuBarManager
- All Implemented Interfaces:
MenuGroupListener
Manages the main menu bar on the main frame
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAction
(DockingActionIf action) Adds an action to the menuvoid
void
dispose()
Releases all resources and makes this object unusable.void
menuGroupChanged
(String[] menuPath, String group) Handles changes to the Menu Groupvoid
removeAction
(DockingActionIf action) Removes an action from the menu.
-
Constructor Details
-
Method Details
-
clearActions
public void clearActions() -
addAction
Adds an action to the menu- Parameters:
action
- the action to be added
-
removeAction
Removes an action from the menu.- Parameters:
action
- the action to be removed.
-
dispose
public void dispose()Releases all resources and makes this object unusable. -
getMenuBar
-