Package jmri.jmrit.signalling
Class SignallingSourceAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrit.signalling.SignallingSourceAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class SignallingSourceAction extends javax.swing.AbstractAction
Swing action to create and register a SignallingFrame object. Displayed when user clicks Edit Logic button in the Signal Mast table.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) SignalMast
source
-
Constructor Summary
Constructors Constructor Description SignallingSourceAction()
SignallingSourceAction(java.lang.String s)
SignallingSourceAction(java.lang.String s, SignalMast source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
Open a SignallingSourceFrame pane.void
setMast(SignalMast source)
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
source
SignalMast source
-
-
Constructor Detail
-
SignallingSourceAction
public SignallingSourceAction(java.lang.String s)
-
SignallingSourceAction
public SignallingSourceAction(java.lang.String s, SignalMast source)
-
SignallingSourceAction
public SignallingSourceAction()
-
-
Method Detail
-
setMast
public void setMast(SignalMast source)
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
Open a SignallingSourceFrame pane. Displayed when user clicks Edit Logic button in the Signal Mast table.
-
-