javax.swing
Class JMenu.WinListener
java.lang.Object
java.awt.event.WindowAdapter
javax.swing.JMenu.WinListener
- All Implemented Interfaces:
- WindowFocusListener, WindowListener, WindowStateListener, Serializable, EventListener
- Enclosing class:
- JMenu
protected class JMenu.WinListener
- extends WindowAdapter
- implements Serializable
- See Also:
- Serialized Form
Method Summary |
void |
windowClosing(WindowEvent event)
Receives notification when the popup menu is closing and deselects
the menu. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMenu.WinListener
public JMenu.WinListener(JPopupMenu popup)
- Creates a new
WinListener
.
- Parameters:
popup
- the popup menu which is observed
windowClosing
public void windowClosing(WindowEvent event)
- Receives notification when the popup menu is closing and deselects
the menu.
- Specified by:
windowClosing
in interface WindowListener
- Overrides:
windowClosing
in class WindowAdapter
- Parameters:
event
- the window event