Class BasicPanelPopupMenuHandler
java.lang.Object
bibliothek.gui.dock.themes.basic.action.menu.AbstractMenuHandler<JMenu,CPanelPopup.PanelPopup>
bibliothek.gui.dock.common.intern.action.panel.BasicPanelPopupMenuHandler
- All Implemented Interfaces:
ViewItem<JComponent>,MenuViewItem<JComponent>
A menu showing a custom component instead of menu items.
- Author:
- Benjamin Sigg
-
Field Summary
Fields inherited from class bibliothek.gui.dock.themes.basic.action.menu.AbstractMenuHandler
action, dockable, item -
Constructor Summary
ConstructorsConstructorDescriptionBasicPanelPopupMenuHandler(CPanelPopup.PanelPopup action, Dockable dockable) Creates a new handler. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddActionListener(ActionListener listener) voidremoveActionListener(ActionListener listener) Methods inherited from class bibliothek.gui.dock.themes.basic.action.menu.AbstractMenuHandler
bind, getAction, getDockable, getItem, unbind
-
Constructor Details
-
BasicPanelPopupMenuHandler
Creates a new handler.- Parameters:
action- the action shown in this menudockable- the owner of the action
-
-
Method Details
-
addActionListener
-
removeActionListener
-