Class MenuWindow
java.lang.Object
bibliothek.gui.dock.common.action.panel.AbstractPanelPopupWindow
bibliothek.gui.dock.common.action.panel.MenuWindow
- All Implemented Interfaces:
PanelPopupWindow
A wrapper around a
JPopupMenu.- Author:
- Benjamin Sigg
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class bibliothek.gui.dock.common.action.panel.AbstractPanelPopupWindow
addListener, fireClosed, listeners, removeListener, validateBounds
-
Constructor Details
-
MenuWindow
Creates the new window.- Parameters:
menu- the menu that is managed by this window
-
-
Method Details
-
isOpen
public boolean isOpen()Description copied from interface:PanelPopupWindowTells whether this window is visible or not.- Returns:
trueif visible
-
close
public void close()Description copied from interface:PanelPopupWindowMakes this window invisible
-