Package jmri.jmrit.ctc
Class SignalDirectionIndicatorsNull
- java.lang.Object
-
- jmri.jmrit.ctc.SignalDirectionIndicatorsNull
-
- All Implemented Interfaces:
SignalDirectionIndicatorsInterface
public class SignalDirectionIndicatorsNull extends java.lang.Object implements SignalDirectionIndicatorsInterface
-
-
Constructor Summary
Constructors Constructor Description SignalDirectionIndicatorsNull()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
codeButtonPressed(int requestedDirection, boolean requestedChangeInSignalDirection)
void
forceAllSignalsToHeld()
int
getPresentDirection()
int
getSignalsInTheFieldDirection()
boolean
inCorrespondence()
boolean
isNonfunctionalObject()
boolean
isRunningTime()
void
osSectionBecameOccupied()
void
removeAllListeners()
void
setCodeButtonHandler(CodeButtonHandler codeButtonHandler)
void
setPresentSignalDirectionLever(int presentSignalDirectionLever)
void
setRequestedDirection(int direction)
void
setSignalDirectionIndicatorsToOUTOFCORRESPONDENCE()
boolean
signalsNormal()
boolean
signalsNormalOrOutOfCorrespondence()
void
startCodingTime()
-
-
-
Constructor Detail
-
SignalDirectionIndicatorsNull
public SignalDirectionIndicatorsNull()
-
-
Method Detail
-
setCodeButtonHandler
public void setCodeButtonHandler(CodeButtonHandler codeButtonHandler)
- Specified by:
setCodeButtonHandler
in interfaceSignalDirectionIndicatorsInterface
-
removeAllListeners
public void removeAllListeners()
- Specified by:
removeAllListeners
in interfaceSignalDirectionIndicatorsInterface
-
isNonfunctionalObject
public boolean isNonfunctionalObject()
- Specified by:
isNonfunctionalObject
in interfaceSignalDirectionIndicatorsInterface
-
setPresentSignalDirectionLever
public void setPresentSignalDirectionLever(int presentSignalDirectionLever)
- Specified by:
setPresentSignalDirectionLever
in interfaceSignalDirectionIndicatorsInterface
-
isRunningTime
public boolean isRunningTime()
- Specified by:
isRunningTime
in interfaceSignalDirectionIndicatorsInterface
-
osSectionBecameOccupied
public void osSectionBecameOccupied()
- Specified by:
osSectionBecameOccupied
in interfaceSignalDirectionIndicatorsInterface
-
codeButtonPressed
public void codeButtonPressed(int requestedDirection, boolean requestedChangeInSignalDirection)
- Specified by:
codeButtonPressed
in interfaceSignalDirectionIndicatorsInterface
-
startCodingTime
public void startCodingTime()
- Specified by:
startCodingTime
in interfaceSignalDirectionIndicatorsInterface
-
signalsNormal
public boolean signalsNormal()
- Specified by:
signalsNormal
in interfaceSignalDirectionIndicatorsInterface
-
signalsNormalOrOutOfCorrespondence
public boolean signalsNormalOrOutOfCorrespondence()
- Specified by:
signalsNormalOrOutOfCorrespondence
in interfaceSignalDirectionIndicatorsInterface
-
getPresentDirection
public int getPresentDirection()
- Specified by:
getPresentDirection
in interfaceSignalDirectionIndicatorsInterface
-
inCorrespondence
public boolean inCorrespondence()
- Specified by:
inCorrespondence
in interfaceSignalDirectionIndicatorsInterface
-
forceAllSignalsToHeld
public void forceAllSignalsToHeld()
- Specified by:
forceAllSignalsToHeld
in interfaceSignalDirectionIndicatorsInterface
-
getSignalsInTheFieldDirection
public int getSignalsInTheFieldDirection()
- Specified by:
getSignalsInTheFieldDirection
in interfaceSignalDirectionIndicatorsInterface
-
setSignalDirectionIndicatorsToOUTOFCORRESPONDENCE
public void setSignalDirectionIndicatorsToOUTOFCORRESPONDENCE()
- Specified by:
setSignalDirectionIndicatorsToOUTOFCORRESPONDENCE
in interfaceSignalDirectionIndicatorsInterface
-
setRequestedDirection
public void setRequestedDirection(int direction)
- Specified by:
setRequestedDirection
in interfaceSignalDirectionIndicatorsInterface
-
-