hirondelle.stocks.file
Class FileOpenAction
Object
AbstractAction
FileOpenAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public final class FileOpenAction
- extends AbstractAction
Present an alphabetical list of Portfolio names, from which the user may
choose one, which is then presented to the user as the CurrentPortfolio.
If the CurrentPortfolio being replaced has unsaved edits,
then the appropriate Save or SaveAs action is called
before this action executes.
This action is always enabled.
- See Also:
- Serialized Form
FileOpenAction
public FileOpenAction(CurrentPortfolio aCurrentPortfolio,
JFrame aFrame,
EditSaver aEditSaver)
- Constructor.
- Parameters:
aCurrentPortfolio - is updated by this action.aFrame - the parent windowaEditSaver - allows the user to save any unsaved edits of the old
CurrentPortfolio being replaced by this action.
actionPerformed
public void actionPerformed(ActionEvent event)
Copyright Hirondelle Systems - License - Generated 2008Jul12.10.53