net.mtu.eggplant.util.gui
Class BasicWindowMonitor

java.lang.Object
  extended by java.awt.event.WindowAdapter
      extended by net.mtu.eggplant.util.gui.BasicWindowMonitor
All Implemented Interfaces:
WindowFocusListener, WindowListener, WindowStateListener, EventListener

public class BasicWindowMonitor
extends WindowAdapter

basic window adapter for use in mains for testing.

Version:
$Revision$
Author:
Jon Schewe

Constructor Summary
BasicWindowMonitor()
           
 
Method Summary
 void windowClosing(WindowEvent e)
          dispose of the window and exit the application
 
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

BasicWindowMonitor

public BasicWindowMonitor()
Method Detail

windowClosing

public void windowClosing(WindowEvent e)
dispose of the window and exit the application

Specified by:
windowClosing in interface WindowListener
Overrides:
windowClosing in class WindowAdapter
Parameters:
e - the event