de.kawt
Class Closer

java.lang.Object
  |
  +--java.awt.event.WindowAdapter
        |
        +--de.kawt.Closer
All Implemented Interfaces:
WindowListener

public class Closer
extends WindowAdapter


Constructor Summary
Closer()
           
Closer(KAWTlet kawtlet)
          When the close button is pressed, kawtlet.notifyDestroyed () is called.
Closer(Window win)
          When the close button is pressed, the given window is hidden.
 
Method Summary
 void windowClosing(WindowEvent e)
          Invoked when the user attempts to close the window from the window's system menu.
 
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowIconified, windowOpened
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Closer

public Closer()

Closer

public Closer(KAWTlet kawtlet)
When the close button is pressed, kawtlet.notifyDestroyed () is called.

Closer

public Closer(Window win)
When the close button is pressed, the given window is hidden.
Method Detail

windowClosing

public void windowClosing(WindowEvent e)
Description copied from interface: WindowListener
Invoked when the user attempts to close the window from the window's system menu.
Overrides:
windowClosing in class WindowAdapter