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>

public class BasicPanelPopupMenuHandler extends AbstractMenuHandler<JMenu,CPanelPopup.PanelPopup>
A menu showing a custom component instead of menu items.
Author:
Benjamin Sigg
  • Constructor Details

    • BasicPanelPopupMenuHandler

      public BasicPanelPopupMenuHandler(CPanelPopup.PanelPopup action, Dockable dockable)
      Creates a new handler.
      Parameters:
      action - the action shown in this menu
      dockable - the owner of the action
  • Method Details

    • addActionListener

      public void addActionListener(ActionListener listener)
    • removeActionListener

      public void removeActionListener(ActionListener listener)