kirk.gui
Class WindowCloser

java.lang.Object
  |
  +--java.awt.event.WindowAdapter
        |
        +--kirk.gui.WindowCloser
All Implemented Interfaces:
java.util.EventListener, java.awt.event.WindowFocusListener, java.awt.event.WindowListener, java.awt.event.WindowStateListener

public class WindowCloser
extends java.awt.event.WindowAdapter

This class closes Windows that generate WindowEvents asking for it.

Version:
1
Author:
Berend Wouda

Constructor Summary
WindowCloser()
           
 
Method Summary
 void windowClosing(java.awt.event.WindowEvent event)
          Closes the passed Window.
 
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowCloser

public WindowCloser()
Method Detail

windowClosing

public void windowClosing(java.awt.event.WindowEvent event)
Closes the passed Window.

Specified by:
windowClosing in interface java.awt.event.WindowListener
Overrides:
windowClosing in class java.awt.event.WindowAdapter
Parameters:
event - The event that indicates which Window to close.