soc.client
Class SOCPlayerInterface.MyWindowAdapter

java.lang.Object
  extended byjava.awt.event.WindowAdapter
      extended bysoc.client.SOCPlayerInterface.MyWindowAdapter
All Implemented Interfaces:
java.util.EventListener, java.awt.event.WindowFocusListener, java.awt.event.WindowListener, java.awt.event.WindowStateListener
Enclosing class:
SOCPlayerInterface

private static class SOCPlayerInterface.MyWindowAdapter
extends java.awt.event.WindowAdapter


Field Summary
private  SOCPlayerInterface pi
           
 
Constructor Summary
SOCPlayerInterface.MyWindowAdapter(SOCPlayerInterface spi)
           
 
Method Summary
 void windowClosing(java.awt.event.WindowEvent e)
          Ask if player is sure - Leave the game when the window closes.
 
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
 

Field Detail

pi

private SOCPlayerInterface pi
Constructor Detail

SOCPlayerInterface.MyWindowAdapter

public SOCPlayerInterface.MyWindowAdapter(SOCPlayerInterface spi)
Method Detail

windowClosing

public void windowClosing(java.awt.event.WindowEvent e)
Ask if player is sure - Leave the game when the window closes.