Package jmri.jmrit.symbolicprog
Class CsvExportVariablesAction
java.lang.Object
javax.swing.AbstractAction
jmri.jmrit.symbolicprog.CsvExportVariablesAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
Action to export the CV values to a Comma Separated Variable (CSV) data file.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) JFileChooser(package private) VariableTableModelVariableTableModel 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
ConstructorsConstructorDescriptionCsvExportVariablesAction(String actionName, VariableTableModel pModel, JFrame pParent) -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected booleanisWritable(VariableValue var) Decide whether a given Variable should be written out.Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
fileChooser
-
mParent
-
mModel
VariableTableModel to load
-
-
Constructor Details
-
CsvExportVariablesAction
-
-
Method Details
-
actionPerformed
-
isWritable
Decide whether a given Variable should be written out.- Parameters:
var- Variable to be checked- Returns:
- true if Variable should be included in output file.
-