Package net.sf.freecol.client.gui
Class FullScreenFrameListener
- java.lang.Object
-
- net.sf.freecol.client.gui.FullScreenFrameListener
-
- All Implemented Interfaces:
java.awt.event.WindowListener,java.util.EventListener
public final class FullScreenFrameListener extends java.lang.Object implements java.awt.event.WindowListenerThe WindowListener for the FullScreenFrame class.
-
-
Field Summary
Fields Modifier and Type Field Description private FreeColFrameframeprivate FreeColClientfreeColClient
-
Constructor Summary
Constructors Constructor Description FullScreenFrameListener(FreeColClient freeColClient, FreeColFrame frame)Constructs this WindowListener.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwindowActivated(java.awt.event.WindowEvent event)Invoked when the window gets activated.voidwindowClosed(java.awt.event.WindowEvent event)Invoked when the window gets closed.voidwindowClosing(java.awt.event.WindowEvent event)Invoked when the window is closing.voidwindowDeactivated(java.awt.event.WindowEvent event)Invoked when the window gets deactivated.voidwindowDeiconified(java.awt.event.WindowEvent event)Invoked when the window gets deiconified.voidwindowIconified(java.awt.event.WindowEvent event)Invoked when the window gets iconified.voidwindowOpened(java.awt.event.WindowEvent event)Invoked when the window gets opened.
-
-
-
Field Detail
-
freeColClient
private final FreeColClient freeColClient
-
frame
private final FreeColFrame frame
-
-
Constructor Detail
-
FullScreenFrameListener
public FullScreenFrameListener(FreeColClient freeColClient, FreeColFrame frame)
Constructs this WindowListener.- Parameters:
freeColClient- TheFreeColClientto notify.frame- The frame.
-
-
Method Detail
-
windowActivated
public void windowActivated(java.awt.event.WindowEvent event)
Invoked when the window gets activated.- Specified by:
windowActivatedin interfacejava.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:
windowClosedin interfacejava.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:
windowClosingin interfacejava.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:
windowDeactivatedin interfacejava.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:
windowDeiconifiedin interfacejava.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:
windowIconifiedin interfacejava.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:
windowOpenedin interfacejava.awt.event.WindowListener- Parameters:
event- The event that has information on the action.
-
-