public class MenuWindow extends AbstractPanelPopupWindow
JPopupMenu
.Constructor and Description |
---|
MenuWindow(javax.swing.JPopupMenu menu)
Creates the new window.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Makes this window invisible
|
boolean |
isOpen()
Tells whether this window is visible or not.
|
addListener, fireClosed, listeners, removeListener, validateBounds
public MenuWindow(javax.swing.JPopupMenu menu)
menu
- the menu that is managed by this windowpublic boolean isOpen()
PanelPopupWindow
true
if visiblepublic void close()
PanelPopupWindow