Package jmri.jmrit.symbolicprog
Class TcsDownloadAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrit.symbolicprog.TcsDownloadAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.beans.PropertyChangeListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class TcsDownloadAction extends javax.swing.AbstractAction implements java.beans.PropertyChangeListener
Action to download the function labels from a TCS CS-105 to a roster entry- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ConfigRepresentation
configRep
(package private) CvTableModel
cvTable
(package private) PaneProgFrame
frame
(package private) RosterEntry
rosterEntry
(package private) VariableTableModel
vModel
-
Constructor Summary
Constructors Constructor Description TcsDownloadAction(java.lang.String actionName, CvTableModel pModel, VariableTableModel vModel, PaneProgFrame pParent, javax.swing.JLabel pStatus, RosterEntry re)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
(package private) static int
getNumberField(java.lang.String value)
(package private) static CanSystemConnectionMemo
getSystemConnectionMemo()
(package private) void
processValuesToGUI()
Construct and execute a listener that processses the relevant CDI elements into the Roster and Function Label GUI elements.void
propertyChange(java.beans.PropertyChangeEvent event)
static boolean
willBeEnabled()
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
frame
PaneProgFrame frame
-
rosterEntry
RosterEntry rosterEntry
-
cvTable
CvTableModel cvTable
-
vModel
VariableTableModel vModel
-
configRep
ConfigRepresentation configRep
-
-
Constructor Detail
-
TcsDownloadAction
public TcsDownloadAction(java.lang.String actionName, CvTableModel pModel, VariableTableModel vModel, PaneProgFrame pParent, javax.swing.JLabel pStatus, RosterEntry re)
-
-
Method Detail
-
willBeEnabled
public static boolean willBeEnabled()
-
getSystemConnectionMemo
static CanSystemConnectionMemo getSystemConnectionMemo()
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent event)
- Specified by:
propertyChange
in interfacejava.beans.PropertyChangeListener
-
processValuesToGUI
void processValuesToGUI()
Construct and execute a listener that processses the relevant CDI elements into the Roster and Function Label GUI elements.
-
getNumberField
static int getNumberField(java.lang.String value)
-
-