Class MenuWindow

All Implemented Interfaces:
PanelPopupWindow

public class MenuWindow extends AbstractPanelPopupWindow
A wrapper around a JPopupMenu.
Author:
Benjamin Sigg
  • Constructor Details

    • MenuWindow

      public MenuWindow(JPopupMenu menu)
      Creates the new window.
      Parameters:
      menu - the menu that is managed by this window
  • Method Details

    • isOpen

      public boolean isOpen()
      Description copied from interface: PanelPopupWindow
      Tells whether this window is visible or not.
      Returns:
      true if visible
    • close

      public void close()
      Description copied from interface: PanelPopupWindow
      Makes this window invisible