Package jmri.jmrit.symbolicprog
Class Pr1WinExportAction
java.lang.Object
javax.swing.AbstractAction
jmri.jmrit.symbolicprog.Pr1WinExportAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
Action to export the CV values to a PR1WIN data file.
Note that this format is somewhat different from the PR1DOS format, and it's not clear they will interoperate.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) JFileChooser(package private) CvTableModelCvTableModel to load(package private) JFrameFields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields inherited from interface javax.swing.Action
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 Summary
ConstructorsConstructorDescriptionPr1WinExportAction(String actionName, CvTableModel pModel, JFrame pParent) Create the action -
Method Summary
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
fileChooser
-
mParent
-
mModel
CvTableModel to load
-
-
Constructor Details
-
Pr1WinExportAction
Create the action- Parameters:
actionName- String name to be displayed in menus, etcpModel- CvTableModel that contains the data to (eventually) be exportedpParent- JFrame that will eventually invoke the action, used to anchor a file dialog
-
-
Method Details
-
actionPerformed
-