gov.nih.nlm.mms
Class ExitAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bygov.nih.nlm.mms.SaveConfigAction
          extended bygov.nih.nlm.mms.ExitAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable

public class ExitAction
extends SaveConfigAction

Exits the application. Used for the File -> Exit menu of MetamorphoSysGUI.

Author:
Brian Carlsen, Deborah Shapiro
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class gov.nih.nlm.mms.SaveConfigAction
SaveConfigAction.PropertiesFileFilter
 
Field Summary
 
Fields inherited from class gov.nih.nlm.mms.SaveConfigAction
lastConfigFile, mms, owner
 
Fields inherited from class javax.swing.AbstractAction
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
ExitAction(MetamorphoSys mms)
          Instantiates an ExitAction
 
Method Summary
 void actionPerformed(ActionEvent e)
          Exits the application after prompting user to save current configuration.
 
Methods inherited from class gov.nih.nlm.mms.SaveConfigAction
backupConfig, saveConfig
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExitAction

public ExitAction(MetamorphoSys mms)
Instantiates an ExitAction

Parameters:
mms - the MetamorphoSys application object
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Exits the application after prompting user to save current configuration.

Specified by:
actionPerformed in interface ActionListener
Overrides:
actionPerformed in class SaveConfigAction
Parameters:
e - the ActionEvent


Copyright ©2005