ist.palcom.palbox
Class PalBoxDeviceGUI.WindowClosingHandler

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

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

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


Constructor Summary
PalBoxDeviceGUI.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

PalBoxDeviceGUI.WindowClosingHandler

public PalBoxDeviceGUI.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