|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
gov.nih.nlm.mms.SaveConfigAction
gov.nih.nlm.mms.ExitAction
Exits the application. Used for the File -> Exit
menu of
MetamorphoSysGUI
.
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 |
public ExitAction(MetamorphoSys mms)
ExitAction
mms
- the MetamorphoSys
application objectMethod Detail |
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
actionPerformed
in class SaveConfigAction
e
- the ActionEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |