hirondelle.stocks.file
Class FileExitAction
Object
AbstractAction
FileExitAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public final class FileExitAction
- extends AbstractAction
Close the application.
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 relaunch.
- See Also:
- Serialized Form
FileExitAction
public FileExitAction(CurrentPortfolio aCurrentPortfolio,
EditSaver aEditSaver)
- Constructor.
- Parameters:
aCurrentPortfolio - may have unsaved edits when this action is taken.aEditSaver - allows the user to save any unsaved edits.
actionPerformed
public void actionPerformed(ActionEvent event)
Copyright Hirondelle Systems - License - Generated 2008Jul12.10.53