gui
Class WindowClosingAdapter

java.lang.Object
  extended by java.awt.event.WindowAdapter
      extended by gui.WindowClosingAdapter
All Implemented Interfaces:
java.awt.event.WindowFocusListener, java.awt.event.WindowListener, java.awt.event.WindowStateListener, java.util.EventListener

public class WindowClosingAdapter
extends java.awt.event.WindowAdapter

Closing adapter for the Main window..


Constructor Summary
WindowClosingAdapter()
          Instantiates a new window closing adapter.
WindowClosingAdapter(boolean exitSystem)
          Instantiates a new window closing adapter.
 
Method Summary
 void windowClosing(java.awt.event.WindowEvent event)
           
 
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowClosingAdapter

public WindowClosingAdapter(boolean exitSystem)
Instantiates a new window closing adapter.

Parameters:
exitSystem - the exit system

WindowClosingAdapter

public WindowClosingAdapter()
Instantiates a new window closing adapter.

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