dbfeditor.events
Class DBFWindowHandler

java.lang.Object
  extended by dbfeditor.events.DBFWindowHandler
All Implemented Interfaces:
java.awt.event.WindowListener, java.util.EventListener

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

DBFWindowHandler - This event handler class responds to the user interacting with the window itself, for example, when the user presses the window's 'X' to close the application.

Author:
Richard McKenna

Constructor Summary
DBFWindowHandler()
           
 
Method Summary
 void windowActivated(java.awt.event.WindowEvent we)
           
 void windowClosed(java.awt.event.WindowEvent we)
           
 void windowClosing(java.awt.event.WindowEvent we)
          This method is called when the user clicks on the window's 'X' button in the top right-hand corner.
 void windowDeactivated(java.awt.event.WindowEvent we)
           
 void windowDeiconified(java.awt.event.WindowEvent we)
           
 void windowIconified(java.awt.event.WindowEvent we)
           
 void windowOpened(java.awt.event.WindowEvent we)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBFWindowHandler

public DBFWindowHandler()
Method Detail

windowClosing

public void windowClosing(java.awt.event.WindowEvent we)
This method is called when the user clicks on the window's 'X' button in the top right-hand corner. The application responds by closing.

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

windowActivated

public void windowActivated(java.awt.event.WindowEvent we)
Specified by:
windowActivated in interface java.awt.event.WindowListener

windowClosed

public void windowClosed(java.awt.event.WindowEvent we)
Specified by:
windowClosed in interface java.awt.event.WindowListener

windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent we)
Specified by:
windowDeactivated in interface java.awt.event.WindowListener

windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent we)
Specified by:
windowDeiconified in interface java.awt.event.WindowListener

windowIconified

public void windowIconified(java.awt.event.WindowEvent we)
Specified by:
windowIconified in interface java.awt.event.WindowListener

windowOpened

public void windowOpened(java.awt.event.WindowEvent we)
Specified by:
windowOpened in interface java.awt.event.WindowListener