bin
Class GUIFramework.WindowHandler

java.lang.Object
  extended by java.awt.event.WindowAdapter
      extended by bin.GUIFramework.WindowHandler
All Implemented Interfaces:
java.awt.event.WindowFocusListener, java.awt.event.WindowListener, java.awt.event.WindowStateListener, java.util.EventListener
Enclosing class:
GUIFramework

protected class GUIFramework.WindowHandler
extends java.awt.event.WindowAdapter

This Inner-Class is responsible for over-all window behaviour.

On the closing of the application, the screen location of the application should be stored and any resources left-over should be cleared up.

On window closing, also calls the "Garbage Collector" before exiting the JVM session.


Constructor Summary
protected GUIFramework.WindowHandler()
           
 
Method Summary
 void windowClosing(java.awt.event.WindowEvent event)
          Invoked when a window is in the process of being closed.
 
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

GUIFramework.WindowHandler

protected GUIFramework.WindowHandler()
Method Detail

windowClosing

public void windowClosing(java.awt.event.WindowEvent event)
Invoked when a window is in the process of being closed.

Save window coordinates to central database file ready for next time the application is loaded.

Specified by:
windowClosing in interface java.awt.event.WindowListener
Overrides:
windowClosing in class java.awt.event.WindowAdapter