bibliothek.gui.dock.common.action.panel
Class MenuWindow
java.lang.Object
bibliothek.gui.dock.common.action.panel.AbstractPanelPopupWindow
bibliothek.gui.dock.common.action.panel.MenuWindow
- All Implemented Interfaces:
- PanelPopupWindow
public class MenuWindow
- extends AbstractPanelPopupWindow
A wrapper around a JPopupMenu
.
- Author:
- Benjamin Sigg
Method Summary |
void |
close()
Makes this window invisible |
boolean |
isOpen()
Tells whether this window is visible or not. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MenuWindow
public MenuWindow(JPopupMenu menu)
- Creates the new window.
- Parameters:
menu
- the menu that is managed by this window
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