Package jmri.jmrit.display.layoutEditor
Class LayoutDoubleSlip
- java.lang.Object
-
- jmri.jmrit.display.layoutEditor.LayoutTrack
-
- jmri.jmrit.display.layoutEditor.LayoutTurnout
-
- jmri.jmrit.display.layoutEditor.LayoutSlip
-
- jmri.jmrit.display.layoutEditor.LayoutDoubleSlip
-
public class LayoutDoubleSlip extends LayoutSlip
A LayoutSlip is a crossing of two straight tracks designed in such a way as to allow trains to change from one straight track to the other, as well as going straight across.A LayoutSlip has four connection points, designated A, B, C, and D. A train may proceed between A and D, A and C, B and D and in the case of double-slips, B and C.
\\ // A==-==D \\ // X // \\ B==-==C // \\
For drawing purposes, each LayoutSlip carries a center point and displacements for A and B. The displacements for C = - the displacement for A, and the displacement for D = - the displacement for B. The center point and these displacements may be adjusted by the user when in edit mode.When LayoutSlips are first created, there are no connections. Block information and connections are added when available.
SignalHead names are saved here to keep track of where signals are. LayoutSlip only serves as a storage place for SignalHead names. The names are placed here by Set Signals at Level Crossing in Tools menu.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jmri.jmrit.display.layoutEditor.LayoutSlip
LayoutSlip.TurnoutState
-
Nested classes/interfaces inherited from class jmri.jmrit.display.layoutEditor.LayoutTurnout
LayoutTurnout.Geometry, LayoutTurnout.LinkType, LayoutTurnout.TurnoutType
-
-
Field Summary
-
Fields inherited from class jmri.jmrit.display.layoutEditor.LayoutSlip
currentState, turnoutStates
-
Fields inherited from class jmri.jmrit.display.layoutEditor.LayoutTurnout
active, connectA, connectAName, connectB, connectBName, connectC, connectCName, connectD, connectDName, continuingSense, disabled, disableWhenOccupied, INCONSISTENT, linkedTurnoutName, linkType, namedLayoutBlockA, namedLayoutBlockB, namedLayoutBlockC, namedLayoutBlockD, namedTurnout, secondNamedTurnout, sensorANamed, sensorBNamed, sensorCNamed, sensorDNamed, signalA1HeadNamed, signalA2HeadNamed, signalA3HeadNamed, signalAMastNamed, signalB1HeadNamed, signalB2HeadNamed, signalBMastNamed, signalC1HeadNamed, signalC2HeadNamed, signalCMastNamed, signalD1HeadNamed, signalD2HeadNamed, signalDMastNamed, STATE_AC, STATE_AD, STATE_BC, STATE_BD, tBlockAName, tBlockBName, tBlockCName, tBlockDName, turnoutBXDefault, turnoutCXDefault, turnoutWidDefault, type, UNKNOWN, xOverHWidDefault, xOverLongDefault, xOverShortDefault
-
Fields inherited from class jmri.jmrit.display.layoutEditor.LayoutTrack
models
-
-
Constructor Summary
Constructors Constructor Description LayoutDoubleSlip(java.lang.String id, LayoutEditor layoutEditor)
Constructor method.
-
Method Summary
-
Methods inherited from class jmri.jmrit.display.layoutEditor.LayoutSlip
activateTurnout, checkForFreeConnections, deactivateTurnout, disableSML, getBlockBoundaries, getConnection, getConnectivityStateForLayoutBlocks, getDisplayName, getLayoutConnectivity, getNameString, getSlipState, getSlipStateString, getSlipType, getTurnoutB, getTurnoutBName, getTurnoutBState, getTurnoutState, getTurnoutState, getTurnoutStates, isMainline, isOccupied, isTurnoutInconsistent, reCheckBlockBoundary, remove, setConnection, setSlipState, setTurnoutB, setTurnoutStates, toggleState, toString, updateBlockInfo, updateState
-
Methods inherited from class jmri.jmrit.display.layoutEditor.LayoutTurnout
canRemove, checkForNonContiguousBlocks, checkForUnAssignedBlocks, collectContiguousTracksNamesInBlockNamed, getBeanReferences, getBlockBName, getBlockCName, getBlockDName, getBlockName, getConnectA, getConnectB, getConnectC, getConnectD, getContinuingSense, getLayoutBlock, getLayoutBlockB, getLayoutBlockC, getLayoutBlockD, getLinkedTurnoutName, getLinkType, getProtectedBlocks, getSecondTurnout, getSecondTurnoutName, getSensorA, getSensorAName, getSensorB, getSensorBName, getSensorC, getSensorCName, getSensorD, getSensorDName, getSignalA1, getSignalA1Name, getSignalA2, getSignalA2Name, getSignalA3, getSignalA3Name, getSignalAMast, getSignalAMastName, getSignalB1, getSignalB1Name, getSignalB2, getSignalB2Name, getSignalBMast, getSignalBMastName, getSignalC1, getSignalC1Name, getSignalC2, getSignalC2Name, getSignalCMast, getSignalCMastName, getSignalD1, getSignalD1Name, getSignalD2, getSignalD2Name, getSignalDMast, getSignalDMastName, getSignalHead, getState, getToolTip, getTurnout, getTurnoutName, getTurnoutType, getTypeName, getVersion, hasEnteringDoubleTrack, hasEnteringDoubleTrack, hasEnteringSingleTrack, hasEnteringSingleTrack, isActive, isDisabled, isDisabledWhenOccupied, isInContinuingSenseState, isMainlineA, isMainlineB, isMainlineC, isMainlineD, isSecondTurnoutInverted, isTurnoutTypeSlip, isTurnoutTypeSlip, isTurnoutTypeTurnout, isTurnoutTypeTurnout, isTurnoutTypeXover, isTurnoutTypeXover, removeBeanReference, removeSML, setAllLayoutBlocks, setConnectA, setConnectB, setConnectC, setConnectD, setContinuingSense, setDisabled, setDisableWhenOccupied, setLayoutBlock, setLayoutBlockB, setLayoutBlockBByName, setLayoutBlockByName, setLayoutBlockC, setLayoutBlockCByName, setLayoutBlockD, setLayoutBlockDByName, setLinkedTurnoutName, setLinkType, setObjects, setSecondTurnout, setSecondTurnoutInverted, setSensorA, setSensorB, setSensorC, setSensorD, setShowToolTip, setSignalA1Name, setSignalA2Name, setSignalA3Name, setSignalAMast, setSignalB1Name, setSignalB2Name, setSignalBMast, setSignalC1Name, setSignalC2Name, setSignalCMast, setSignalD1Name, setSignalD2Name, setSignalDMast, setState, setToolTip, setTurnout, setVersion, showToolTip, toggleTurnout, useBlockSpeed
-
Methods inherited from class jmri.jmrit.display.layoutEditor.LayoutTrack
getId, getName, getTurnoutStateString, isDisconnected, setIdent
-
-
-
-
Constructor Detail
-
LayoutDoubleSlip
public LayoutDoubleSlip(java.lang.String id, LayoutEditor layoutEditor)
Constructor method.- Parameters:
id
- double slip ID.layoutEditor
- main layout editor.
-
-