kawigi.cmd
Class StandaloneWindowListener

java.lang.Object
  extended by kawigi.cmd.StandaloneWindowListener
All Implemented Interfaces:
java.awt.event.WindowListener, java.util.EventListener

public class StandaloneWindowListener
extends java.lang.Object
implements java.awt.event.WindowListener

WindowListener implementation for KawigiEditStandalone. The main purpose here is to make the window commit preferences and exit when the window is closed.


Constructor Summary
StandaloneWindowListener()
           
 
Method Summary
 void windowActivated(java.awt.event.WindowEvent e)
          Empty.
 void windowClosed(java.awt.event.WindowEvent e)
          Empty.
 void windowClosing(java.awt.event.WindowEvent e)
          Commits preferences, disposes the window, and exits the program.
 void windowDeactivated(java.awt.event.WindowEvent e)
          Empty.
 void windowDeiconified(java.awt.event.WindowEvent e)
          Empty.
 void windowIconified(java.awt.event.WindowEvent e)
          Empty.
 void windowOpened(java.awt.event.WindowEvent e)
          Empty.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandaloneWindowListener

public StandaloneWindowListener()
Method Detail

windowClosing

public void windowClosing(java.awt.event.WindowEvent e)
Commits preferences, disposes the window, and exits the program.

Specified by:
windowClosing in interface java.awt.event.WindowListener

windowActivated

public void windowActivated(java.awt.event.WindowEvent e)
Empty. From the WindowListener interface.

Specified by:
windowActivated in interface java.awt.event.WindowListener

windowClosed

public void windowClosed(java.awt.event.WindowEvent e)
Empty. From the WindowListener interface.

Specified by:
windowClosed in interface java.awt.event.WindowListener

windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent e)
Empty. From the WindowListener interface.

Specified by:
windowDeactivated in interface java.awt.event.WindowListener

windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent e)
Empty. From the WindowListener interface.

Specified by:
windowDeiconified in interface java.awt.event.WindowListener

windowIconified

public void windowIconified(java.awt.event.WindowEvent e)
Empty. From the WindowListener interface.

Specified by:
windowIconified in interface java.awt.event.WindowListener

windowOpened

public void windowOpened(java.awt.event.WindowEvent e)
Empty. From the WindowListener interface.

Specified by:
windowOpened in interface java.awt.event.WindowListener