actions
Class ExitAction

java.lang.Object
  extended by java.awt.event.WindowAdapter
      extended by actions.ExitAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.WindowFocusListener, java.awt.event.WindowListener, java.awt.event.WindowStateListener, java.util.EventListener

public class ExitAction
extends java.awt.event.WindowAdapter
implements java.awt.event.ActionListener

Action for exiting in the application. In the future, this action may display a dialog before exiting.


Constructor Summary
ExitAction()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent arg0)
          Closes the application.
 void windowClosing(java.awt.event.WindowEvent arg0)
          Invokes the exit action.
 
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExitAction

public ExitAction()
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent arg0)
Closes the application.

Specified by:
actionPerformed in interface java.awt.event.ActionListener

windowClosing

public void windowClosing(java.awt.event.WindowEvent arg0)
Invokes the exit action.

Specified by:
windowClosing in interface java.awt.event.WindowListener
Overrides:
windowClosing in class java.awt.event.WindowAdapter