public final class ExportAction extends AbstractAction
Portfoliodata as a single text file.
The text file is not intended to be edited by the end user, but rather
as the input to the corresponding
ImportAction. The format of the
file is defined by
The file name and extension are arbitrary, and defined entirely by the user.
|Constructor and Description|
|Modifier and Type||Method and Description|
Allow the user to choose a destination file, then write the content of all saved Portfolio objects to this file as XML.
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public void actionPerformed(ActionEvent event)
User navigation is minimized by storing the apparent directory of current interest. If the user selects this action a second time, then the file selection dialog is pre-set to this directory of interest, so that repeated navigation of the file system is avoided.
Copyright Hirondelle Systems - License - Generated 2013Sep20.10.58