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