Class Exit

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--Exit
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class Exit
extends javax.swing.AbstractAction

See Also:
Serialized Form

Inner classes inherited from class javax.swing.AbstractAction
javax.swing.AbstractAction.ArrayTable
 
Fields inherited from class javax.swing.AbstractAction
arrayTable, changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
Exit()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
          Exits the program
private  void exit()
          exits the program
 boolean isDone()
          Override to verify if application is done before quitting.
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getValue, isEnabled, putValue, readObject, removePropertyChangeListener, setEnabled, writeObject
 
Methods inherited from class java.lang.Object
, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

Exit

public Exit()
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Exits the program
Overrides:
actionPerformed in class javax.swing.AbstractAction

exit

private void exit()
exits the program

isDone

public boolean isDone()
Override to verify if application is done before quitting.