qat.components
Class Notepad.AppCloser

java.lang.Object
  extended byjava.awt.event.WindowAdapter
      extended byqat.components.Notepad.AppCloser
All Implemented Interfaces:
java.util.EventListener, java.awt.event.WindowFocusListener, java.awt.event.WindowListener, java.awt.event.WindowStateListener
Enclosing class:
Notepad

protected static final class Notepad.AppCloser
extends java.awt.event.WindowAdapter

To shutdown when run as an application. This is a fairly lame implementation. A more self-respecting implementation would at least check to see if a save was needed.


Constructor Summary
Notepad.AppCloser(Notepad parent)
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Notepad.AppCloser

public Notepad.AppCloser(Notepad parent)
Method Detail

windowClosing

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


See QAT project for licensing details