hirondelle.stocks.file
Class FileSaveAction
Object
AbstractAction
FileSaveAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Observer, Action
public final class FileSaveAction
- extends AbstractAction
- implements Observer
Save the edits performed on the CurrentPortfolio, and update the display
to show that the CurrentPortfolio no longer needs a save.
- See Also:
- Serialized Form
FileSaveAction
public FileSaveAction(CurrentPortfolio aCurrentPortfolio)
- Constructor.
- Parameters:
aCurrentPortfolio - is to be saved by this action.
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed in interface ActionListener
update
public void update(Observable aPublisher,
Object aData)
- Synchronize the state of this object with the state of the
CurrentPortfolio passed to the constructor.
This action is enabled only when the CurrentPortfolio is titled and
needs a save.
- Specified by:
update in interface Observer
Copyright Hirondelle Systems - License - Generated 2008Jul12.10.53