pictionary.pictionaryserver
Class PictionaryServer.CloseWindowListener

java.lang.Object
  extended by java.awt.event.WindowAdapter
      extended by pictionary.pictionaryserver.PictionaryServer.CloseWindowListener
All Implemented Interfaces:
java.awt.event.WindowFocusListener, java.awt.event.WindowListener, java.awt.event.WindowStateListener, java.util.EventListener
Enclosing class:
PictionaryServer

private class PictionaryServer.CloseWindowListener
extends java.awt.event.WindowAdapter

Overrides the default behavior when the window is closed.

Author:
Kristoffer Nordkvist

Constructor Summary
private PictionaryServer.CloseWindowListener()
           
 
Method Summary
 void windowClosing(java.awt.event.WindowEvent e)
          Shuts down the server and exits 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

PictionaryServer.CloseWindowListener

private PictionaryServer.CloseWindowListener()
Method Detail

windowClosing

public void windowClosing(java.awt.event.WindowEvent e)
Shuts down the server and exits the program.

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