org.ifeth.sehr.client.api
Class WindowCloser

java.lang.Object
  extended byjava.awt.event.WindowAdapter
      extended byorg.ifeth.sehr.client.api.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

A WindowCloser - watch for closing events and follow them up with setVisible(false) and dispose().

Version:
$Id: WindowCloser.java,v 1.1 2005/04/19 12:14:13 hansjhaase Exp $

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

Constructor Detail

WindowCloser

public WindowCloser(java.awt.Window w)

WindowCloser

public WindowCloser(java.awt.Window w,
                    boolean exit)
Method Detail

windowClosing

public void windowClosing(java.awt.event.WindowEvent e)