public final class FileSaveAction extends AbstractAction implements Observer
CurrentPortfolio
, and update the display
to show that the CurrentPortfolio no longer needs a save.changeSupport, enabled
ACCELERATOR_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 |
---|
FileSaveAction(CurrentPortfolio aCurrentPortfolio)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
void |
update(Observable aPublisher,
Object aData)
Synchronize the state of this object with the state of the
CurrentPortfolio passed to the constructor.
|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public FileSaveAction(CurrentPortfolio aCurrentPortfolio)
aCurrentPortfolio
- is to be saved by this action.public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public void update(Observable aPublisher, Object aData)
Copyright Hirondelle Systems - License - Generated 2013Sep20.10.58