Package jmri.jmrix.loconet
Class LnCabSignal
java.lang.Object
jmri.implementation.DefaultCabSignal
jmri.jmrix.loconet.LnCabSignal
- All Implemented Interfaces:
PropertyChangeListener,EventListener,CabSignal
Ln implementation of a Cab Signal Object, describing the state of the
track ahead relative to a locomotive with a given address. This is
effectively a mobile signal mast.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()A method for cleaning up the cab signalprotected voidForward the command to the layout that sets the displayed signal aspect for this addressprotected voidForward the command to the layout that clears any displayed signal for this addressMethods inherited from class jmri.implementation.DefaultCabSignal
addPropertyChangeListener, firePropertyChange, forwardCabSignalToLayout, getBlock, getBlockList, getCabSignalAddress, getNextBlock, getNextMast, isCabSignalActive, propertyChange, removePropertyChangeListener, setBlock, setBlock, setCabSignalActive, setMasterCabSigPauseActive, toString
-
Constructor Details
-
LnCabSignal
-
-
Method Details
-
dispose
A method for cleaning up the cab signal- Specified by:
disposein interfaceCabSignal- Overrides:
disposein classDefaultCabSignal
-
forwardAspectToLayout
Forward the command to the layout that sets the displayed signal aspect for this address- Overrides:
forwardAspectToLayoutin classDefaultCabSignal
-
resetLayoutCabSignal
Forward the command to the layout that clears any displayed signal for this address- Overrides:
resetLayoutCabSignalin classDefaultCabSignal
-