Package jmri.jmrit.symbolicprog
Class TcsUploadAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrit.symbolicprog.TcsUploadAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.beans.PropertyChangeListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class TcsUploadAction extends javax.swing.AbstractAction implements java.beans.PropertyChangeListener
Action to upload the function labels from a roster entry to a TCS CS-105.- 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 TcsUploadAction(java.lang.String actionName, CvTableModel pModel, VariableTableModel vModel, RosterEntry rosterEntry, PaneProgFrame pParent)
-
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
processValuesFromGUI()
Construct and execute a listener that sets the appropriate values from the 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
-
TcsUploadAction
public TcsUploadAction(java.lang.String actionName, CvTableModel pModel, VariableTableModel vModel, RosterEntry rosterEntry, PaneProgFrame pParent)
-
-
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
-
processValuesFromGUI
void processValuesFromGUI()
Construct and execute a listener that sets the appropriate values from the GUI elements.
-
getNumberField
static int getNumberField(java.lang.String value)
-
-