Class Tracksail.WindowCloser

java.lang.Object
  extended byjava.awt.event.WindowAdapter
      extended byTracksail.WindowCloser
All Implemented Interfaces:
java.util.EventListener, java.awt.event.WindowFocusListener, java.awt.event.WindowListener, java.awt.event.WindowStateListener
Enclosing class:
Tracksail

public class Tracksail.WindowCloser
extends java.awt.event.WindowAdapter

Handles events that are generated when the player closes the window.


Constructor Summary
Tracksail.WindowCloser()
           
 
Method Summary
 void windowClosing(java.awt.event.WindowEvent e)
          Release the system resources reserved by the window and give permission to leave the program.
 
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

Tracksail.WindowCloser

public Tracksail.WindowCloser()
Method Detail

windowClosing

public void windowClosing(java.awt.event.WindowEvent e)
Release the system resources reserved by the window and give permission to leave the program.

Parameters:
e - WindowEvent event