net.chaosserver.jtunes.swingui
Class SwingJTunes.WindowCloser

java.lang.Object
  |
  +--java.awt.event.WindowAdapter
        |
        +--net.chaosserver.jtunes.swingui.SwingJTunes.WindowCloser
All Implemented Interfaces:
EventListener, WindowFocusListener, WindowListener, WindowStateListener
Enclosing class:
SwingJTunes

protected class SwingJTunes.WindowCloser
extends WindowAdapter

Basic adapter that listens for window close events and stops the application.


Constructor Summary
protected SwingJTunes.WindowCloser()
           
 
Method Summary
 void windowClosing(WindowEvent evt)
          Stops the application on window closing.
 
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

SwingJTunes.WindowCloser

protected SwingJTunes.WindowCloser()
Method Detail

windowClosing

public void windowClosing(WindowEvent evt)
Stops the application on window closing.

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


Copyright ?? 20030801