public final class FileOpenAction extends AbstractAction
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.
changeSupport, enabledACCELERATOR_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 |
|---|
FileOpenAction(CurrentPortfolio aCurrentPortfolio,
JFrame aFrame,
EditSaver aEditSaver)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent event) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic FileOpenAction(CurrentPortfolio aCurrentPortfolio, JFrame aFrame, EditSaver aEditSaver)
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.public void actionPerformed(ActionEvent event)
Copyright Hirondelle Systems - License - Generated 2013Sep20.10.58