public final class FileExitAction extends AbstractAction
If the CurrentPortfolio has any unsaved edits, then allow the user
to decide if those edits should be saved.
When the application is closed, the CurrentPortfolio is saved as the default, and will be automatically loaded upon any re-launch.
changeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
FileExitAction(CurrentPortfolio aCurrentPortfolio,
EditSaver aEditSaver)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent event) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic FileExitAction(CurrentPortfolio aCurrentPortfolio, EditSaver aEditSaver)
aCurrentPortfolio - may have unsaved edits when this action is taken.aEditSaver - allows the user to save any unsaved edits.public void actionPerformed(ActionEvent event)
Copyright Hirondelle Systems - License - Generated 2013Sep20.10.58