net.sf.freecol.client.gui
Class WindowedFrameListener

java.lang.Object
  extended by net.sf.freecol.client.gui.WindowedFrameListener
All Implemented Interfaces:
java.awt.event.WindowListener, java.util.EventListener

public final class WindowedFrameListener
extends java.lang.Object
implements java.awt.event.WindowListener

The WindowListener for the WindowedFrame class.


Field Summary
private  FreeColClient freeColClient
           
 
Constructor Summary
WindowedFrameListener(FreeColClient freeColClient)
          Constructs this WindowListener.
 
Method Summary
 void windowActivated(java.awt.event.WindowEvent event)
          Invoked when the window gets activated.
 void windowClosed(java.awt.event.WindowEvent event)
          Invoked when the window gets closed.
 void windowClosing(java.awt.event.WindowEvent event)
          Invoked when the window is closing.
 void windowDeactivated(java.awt.event.WindowEvent event)
          Invoked when the window gets deactivated.
 void windowDeiconified(java.awt.event.WindowEvent event)
          Invoked when the window gets deiconified.
 void windowIconified(java.awt.event.WindowEvent event)
          Invoked when the window gets iconified.
 void windowOpened(java.awt.event.WindowEvent event)
          Invoked when the window gets opened.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

freeColClient

private FreeColClient freeColClient
Constructor Detail

WindowedFrameListener

public WindowedFrameListener(FreeColClient freeColClient)
Constructs this WindowListener.

Parameters:
canvas - The Canvas.
Method Detail

windowActivated

public void windowActivated(java.awt.event.WindowEvent event)
Invoked when the window gets activated.

Specified by:
windowActivated in interface java.awt.event.WindowListener
Parameters:
event - The event that has information on the action.

windowClosed

public void windowClosed(java.awt.event.WindowEvent event)
Invoked when the window gets closed.

Specified by:
windowClosed in interface java.awt.event.WindowListener
Parameters:
event - The event that has information on the action.

windowClosing

public void windowClosing(java.awt.event.WindowEvent event)
Invoked when the window is closing.

Specified by:
windowClosing in interface java.awt.event.WindowListener
Parameters:
event - The event that has information on the action.

windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent event)
Invoked when the window gets deactivated.

Specified by:
windowDeactivated in interface java.awt.event.WindowListener
Parameters:
event - The event that has information on the action.

windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent event)
Invoked when the window gets deiconified.

Specified by:
windowDeiconified in interface java.awt.event.WindowListener
Parameters:
event - The event that has information on the action.

windowIconified

public void windowIconified(java.awt.event.WindowEvent event)
Invoked when the window gets iconified.

Specified by:
windowIconified in interface java.awt.event.WindowListener
Parameters:
event - The event that has information on the action.

windowOpened

public void windowOpened(java.awt.event.WindowEvent event)
Invoked when the window gets opened.

Specified by:
windowOpened in interface java.awt.event.WindowListener
Parameters:
event - The event that has information on the action.