hirondelle.stocks.file
Class FileSaveAsAction
Object
AbstractAction
FileSaveAsAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public final class FileSaveAsAction
- extends AbstractAction
Store the CurrentPortfolio under a new unique name, and
display it to the user as the CurrentPortfolio, which does not
need a save, and which reflects the new name just entered.
This action is always enabled.
- See Also:
- Serialized Form
FileSaveAsAction
public FileSaveAsAction(CurrentPortfolio aCurrentPortfolio,
JFrame aFrame)
- Constructor.
- Parameters:
aCurrentPortfolio - is to be saved by this action.aFrame - the parent window
actionPerformed
public void actionPerformed(ActionEvent e)
- Allow user to input a new name for the current portfolio.
The name must have a non-zero trimmed length, and must be unique.
If the name entered by the user does not comply, then they are
informed and asked to re-input.
Copyright Hirondelle Systems - License - Generated 2008Jul12.10.53