Package jmri.jmrit.symbolicprog
Class GenericImportAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrit.symbolicprog.GenericImportAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
- Direct Known Subclasses:
CsvImportAction
,LokProgImportAction
,Pr1ImportAction
,QuantumCvMgrImportAction
,TcsImportAction
public class GenericImportAction extends javax.swing.AbstractAction
Action to import the CV values from a LokProgrammer CV list file.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) javax.swing.JFileChooser
fileChooser
(package private) java.lang.String
mActionName
(package private) java.lang.String
mFileExt1
(package private) java.lang.String
mFileExt2
(package private) java.lang.String
mFileFilterName
(package private) CvTableModel
mModel
(package private) javax.swing.JFrame
mParent
(package private) javax.swing.JLabel
mStatus
-
Constructor Summary
Constructors Constructor Description GenericImportAction(java.lang.String actionName, CvTableModel pModel, javax.swing.JFrame pParent, javax.swing.JLabel pStatus, java.lang.String fileFilterName, java.lang.String fileExt1, java.lang.String fileExt2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
(package private) boolean
launchImporter(java.io.File file, CvTableModel tableModel)
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
mModel
CvTableModel mModel
-
mParent
javax.swing.JFrame mParent
-
mStatus
javax.swing.JLabel mStatus
-
mActionName
java.lang.String mActionName
-
mFileFilterName
java.lang.String mFileFilterName
-
mFileExt1
java.lang.String mFileExt1
-
mFileExt2
java.lang.String mFileExt2
-
fileChooser
javax.swing.JFileChooser fileChooser
-
-
Constructor Detail
-
GenericImportAction
public GenericImportAction(java.lang.String actionName, CvTableModel pModel, javax.swing.JFrame pParent, javax.swing.JLabel pStatus, java.lang.String fileFilterName, java.lang.String fileExt1, java.lang.String fileExt2)
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
-
launchImporter
boolean launchImporter(java.io.File file, CvTableModel tableModel)
-
-