ch.aplu.jgamegrid
Interface GGWindowStateListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
GGWindowStateAdapter

public interface GGWindowStateListener
extends java.util.EventListener

Declaration of notifications method that reports when the state of the window changes. Useful to snap another game grid window.


Method Summary
 void windowActivated()
          Event callback method called when the window is activated.
 void windowDeactivated()
          Event callback method called when the window is deactivated.
 void windowDeiconified()
          Event callback method called when the window is deiconified.
 void windowIconified()
          Event callback method called when the window is iconified.
 void windowMoved(int x, int y)
          Event callback method called when the window is moved.
 

Method Detail

windowMoved

void windowMoved(int x,
                 int y)
Event callback method called when the window is moved.

Parameters:
x - the x-coordinate of the upper left vertex
y - the y-coordinate of the upper left vertex

windowIconified

void windowIconified()
Event callback method called when the window is iconified.


windowDeiconified

void windowDeiconified()
Event callback method called when the window is deiconified.


windowActivated

void windowActivated()
Event callback method called when the window is activated.


windowDeactivated

void windowDeactivated()
Event callback method called when the window is deactivated.