ist.palcom.simulated.device
Class AbstractSimulatedDeviceGUI.WindowClosingHandler

java.lang.Object
  extended by java.awt.event.WindowAdapter
      extended by ist.palcom.simulated.device.AbstractSimulatedDeviceGUI.WindowClosingHandler
All Implemented Interfaces:
java.awt.event.WindowFocusListener, java.awt.event.WindowListener, java.awt.event.WindowStateListener, java.util.EventListener
Enclosing class:
AbstractSimulatedDeviceGUI

public class AbstractSimulatedDeviceGUI.WindowClosingHandler
extends java.awt.event.WindowAdapter

A WindowListener that will dispose the JFrame and close the AbstractDevice as the window closes.


Constructor Summary
AbstractSimulatedDeviceGUI.WindowClosingHandler()
           
 
Method Summary
 void windowClosed(java.awt.event.WindowEvent event)
           
 void windowClosing(java.awt.event.WindowEvent event)
           
 
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, 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

AbstractSimulatedDeviceGUI.WindowClosingHandler

public AbstractSimulatedDeviceGUI.WindowClosingHandler()
Method Detail

windowClosing

public void windowClosing(java.awt.event.WindowEvent event)
Specified by:
windowClosing in interface java.awt.event.WindowListener
Overrides:
windowClosing in class java.awt.event.WindowAdapter

windowClosed

public void windowClosed(java.awt.event.WindowEvent event)
Specified by:
windowClosed in interface java.awt.event.WindowListener
Overrides:
windowClosed in class java.awt.event.WindowAdapter