Package jmri.jmrit.symbolicprog
Class CsvExportModifiedAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrit.symbolicprog.CsvExportAction
-
- jmri.jmrit.symbolicprog.CsvExportModifiedAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class CsvExportModifiedAction extends CsvExportAction
Action to export modified CV values to a Comma Separated Variable (CSV) data file.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class jmri.jmrit.symbolicprog.CsvExportAction
fileChooser, mModel, mParent
-
-
Constructor Summary
Constructors Constructor Description CsvExportModifiedAction(java.lang.String actionName, CvTableModel pModel, javax.swing.JFrame pParent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isWritable(CvValue cv)
Decide whether a given CV should be written out.-
Methods inherited from class jmri.jmrit.symbolicprog.CsvExportAction
actionPerformed
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
CsvExportModifiedAction
public CsvExportModifiedAction(java.lang.String actionName, CvTableModel pModel, javax.swing.JFrame pParent)
-
-
Method Detail
-
isWritable
protected boolean isWritable(CvValue cv)
Description copied from class:CsvExportAction
Decide whether a given CV should be written out.- Overrides:
isWritable
in classCsvExportAction
- Parameters:
cv
- CV to be checked- Returns:
- true if CV should be included in output file.
-
-