kirk.gui
Class WindowCloser
java.lang.Object
|
+--java.awt.event.WindowAdapter
|
+--kirk.gui.WindowCloser
- All Implemented Interfaces:
- EventListener, WindowFocusListener, WindowListener, WindowStateListener
- public class WindowCloser
- extends WindowAdapter
This class closes Window
s that generate WindowEvents
asking for it.
- Version:
- 1
- Author:
- Berend Wouda
- See Also:
Window
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WindowCloser
public WindowCloser()
windowClosing
public void windowClosing(WindowEvent event)
- Closes the passed
Window
.
- Specified by:
windowClosing
in interface WindowListener
- Overrides:
windowClosing
in class WindowAdapter
- Parameters:
event
- The event that indicates which Window
to close.