Uses of Class
jmri.jmrit.display.layoutEditor.LayoutBlock
-
Packages that use LayoutBlock Package Description jmri Provides basic interfaces and certain core implementations for the JMRI layout management concepts.jmri.implementation Provides implementations of various JMRI interfaces.jmri.jmrit.display.layoutEditor Layout Editor currently represents both structure and graphical display through a single set of objects.jmri.jmrit.display.layoutEditor.blockRoutingTable jmri.jmrit.display.layoutEditor.LayoutEditorDialogs jmri.jmrit.entryexit Implements Entry/Exit ( NX ) dispatching using Layout Editor panels.jmri.server.json.layoutblock -
-
Uses of LayoutBlock in jmri
Methods in jmri that return LayoutBlock Modifier and Type Method Description LayoutBlock
SignalMastLogic. getFacingBlock()
Get the block defined as facing our source signal mast.LayoutBlock
SignalMastLogic. getProtectingBlock(SignalMast destination)
Get the block that the source signal is protecting on the path to the destination signal mast.Methods in jmri with parameters of type LayoutBlock Modifier and Type Method Description void
SignalMastLogic. setFacingBlock(LayoutBlock facing)
Set the block facing our source signal mast.Method parameters in jmri with type arguments of type LayoutBlock Modifier and Type Method Description java.util.LinkedHashMap<Block,java.lang.Integer>
SignalMastLogic. setupLayoutEditorTurnoutDetails(java.util.List<LayoutBlock> blks, SignalMast destination)
Set the auto turnouts based upon a given list of layout blocks for a specific destination mast. -
Uses of LayoutBlock in jmri.implementation
Fields in jmri.implementation declared as LayoutBlock Modifier and Type Field Description (package private) LayoutBlock
DefaultSignalMastLogic. facingBlock
(package private) LayoutBlock
DefaultSignalMastLogic. remoteProtectingBlock
Methods in jmri.implementation that return LayoutBlock Modifier and Type Method Description LayoutBlock
DefaultSignalMastLogic. getFacingBlock()
Get the block defined as facing our source signal mast.LayoutBlock
DefaultSignalMastLogic. getProtectingBlock(SignalMast dest)
Get the block that the source signal is protecting on the path to the destination signal mast.Methods in jmri.implementation with parameters of type LayoutBlock Modifier and Type Method Description void
DefaultSignalMastLogic. setFacingBlock(LayoutBlock facing)
Set the block facing our source signal mast.Method parameters in jmri.implementation with type arguments of type LayoutBlock Modifier and Type Method Description java.util.LinkedHashMap<Block,java.lang.Integer>
DefaultSignalMastLogic. setupLayoutEditorTurnoutDetails(java.util.List<LayoutBlock> blks, SignalMast destination)
Set the auto turnouts based upon a given list of layout blocks for a specific destination mast. -
Uses of LayoutBlock in jmri.jmrit.display.layoutEditor
Fields in jmri.jmrit.display.layoutEditor declared as LayoutBlock Modifier and Type Field Description (package private) LayoutBlock
LayoutBlockConnectivityTools.BlocksTested. block
Fields in jmri.jmrit.display.layoutEditor with type parameters of type LayoutBlock Modifier and Type Field Description protected NamedBeanHandle<LayoutBlock>
LayoutTurnout. namedLayoutBlockA
protected NamedBeanHandle<LayoutBlock>
LayoutTurnoutView. namedLayoutBlockA
protected NamedBeanHandle<LayoutBlock>
LayoutTurnout. namedLayoutBlockB
protected NamedBeanHandle<LayoutBlock>
LayoutTurnoutView. namedLayoutBlockB
protected NamedBeanHandle<LayoutBlock>
LayoutTurnout. namedLayoutBlockC
protected NamedBeanHandle<LayoutBlock>
LayoutTurnoutView. namedLayoutBlockC
protected NamedBeanHandle<LayoutBlock>
LayoutTurnout. namedLayoutBlockD
protected NamedBeanHandle<LayoutBlock>
LayoutTurnoutView. namedLayoutBlockD
Methods in jmri.jmrit.display.layoutEditor that return LayoutBlock Modifier and Type Method Description LayoutBlock
LayoutBlockManager. createNewLayoutBlock()
LayoutBlock
LayoutBlockManager. createNewLayoutBlock(java.lang.String systemName, java.lang.String userName)
Create a new LayoutBlock if the LayoutBlock does not exist.LayoutBlock
LayoutEditor. getAffectedBlock(LayoutTrack track, HitPointType type)
Depending on the given type, and the real class of the given LayoutTrack, determine the connected LayoutTrack.(package private) LayoutBlock
LayoutBlockConnectivityTools.BlocksTested. getBlock()
LayoutBlock
LayoutConnectivity. getBlock1()
Get Block 1.LayoutBlock
LayoutConnectivity. getBlock2()
LayoutBlock
LayoutBlockManager. getBlockWithMemoryAssigned(Memory m)
Find a LayoutBlock with a specified Memory assigned as its value display.LayoutBlock
LayoutBlockManager. getBlockWithSensorAssigned(Sensor s)
Find a LayoutBlock with a specified Sensor assigned as its occupancy sensor.LayoutBlock
LayoutBlockManager. getFacingBlock(java.lang.String signalName, LayoutEditor panel)
Get the LayoutBlock that a given signal is facing.LayoutBlock
LayoutBlockManager. getFacingBlock(SignalHead signalHead, LayoutEditor panel)
LayoutBlock
LayoutBlockManager. getFacingBlockByMast(SignalMast signalMast, LayoutEditor panel)
Get the LayoutBlock that a given signal is facing.LayoutBlock
LayoutBlockManager. getFacingBlockByNamedBean(NamedBean nb, LayoutEditor panel)
Get the block facing a given bean object (Sensor, SignalMast or SignalHead).LayoutBlock
LayoutBlockManager. getFacingBlockBySensor(java.lang.String sensorName, LayoutEditor panel)
Get the LayoutBlock that a given sensor is facing.LayoutBlock
LayoutBlockManager. getFacingBlockBySensor(Sensor sensor, LayoutEditor panel)
Get the LayoutBlock that a given sensor is facing.LayoutBlock
LayoutBlockManager. getLayoutBlock(java.lang.String name)
Get an existing LayoutBlock.LayoutBlock
LayoutBlockManager. getLayoutBlock(Block block)
LayoutBlock
LayoutEditor. getLayoutBlock(java.lang.String blockID)
Return a layout block with the given name if one exists.LayoutBlock
LayoutTurnout. getLayoutBlock()
LayoutBlock
LayoutTurnoutView. getLayoutBlock()
LayoutBlock
LayoutTurntable. getLayoutBlock()
LayoutBlock
LayoutTurntableView. getLayoutBlock()
LayoutBlock
MemoryIcon. getLayoutBlock()
LayoutBlock
TrackSegment. getLayoutBlock()
LayoutBlock
TrackSegmentView. getLayoutBlock()
LayoutBlock
LevelXing. getLayoutBlockAC()
LayoutBlock
LevelXingView. getLayoutBlockAC()
LayoutBlock
LayoutTurnout. getLayoutBlockB()
LayoutBlock
LayoutTurnoutView. getLayoutBlockB()
LayoutBlock
LevelXing. getLayoutBlockBD()
LayoutBlock
LevelXingView. getLayoutBlockBD()
LayoutBlock
LayoutTurnout. getLayoutBlockC()
LayoutBlock
LayoutTurnoutView. getLayoutBlockC()
LayoutBlock
LayoutTurnout. getLayoutBlockD()
LayoutBlock
LayoutTurnoutView. getLayoutBlockD()
LayoutBlock
LayoutBlockManager. getProtectedBlock(java.lang.String signalName, LayoutEditor panel)
Get the LayoutBlock that a given signal is protecting.LayoutBlock
LayoutBlockManager. getProtectedBlock(SignalHead signalHead, LayoutEditor panel)
LayoutBlock
LayoutBlockManager. getProtectedBlockByMast(SignalMast signalMast, LayoutEditor panel)
LayoutBlock
LayoutBlockManager. getProtectedBlockByNamedBean(NamedBean nb, LayoutEditor panel)
Get the block that a given bean object (Sensor, SignalMast or SignalHead) is protecting.LayoutBlock
LayoutBlockManager. getProtectedBlockBySensor(java.lang.String sensorName, LayoutEditor panel)
Get the LayoutBlock that a given sensor is protecting.LayoutBlock
LayoutBlockManager. getProtectedBlockBySensor(Sensor sensor, LayoutEditor panel)
Get the LayoutBlock that a given sensor is protecting.LayoutBlock
LayoutEditor. provideLayoutBlock(java.lang.String inBlockName)
Return a layout block with the entered name, creating a new one if needed.Methods in jmri.jmrit.display.layoutEditor that return types with arguments of type LayoutBlock Modifier and Type Method Description java.util.List<LayoutBlock>
LayoutBlockConnectivityTools. getLayoutBlocks(LayoutBlock sourceLayoutBlock, LayoutBlock destinationLayoutBlock, LayoutBlock protectingLayoutBlock, boolean validateOnly, LayoutBlockConnectivityTools.Routing pathMethod)
This used in conjunction with the layout block routing protocol, to discover a clear path from a source layout block through to a destination layout block.java.util.List<LayoutBlock>
LayoutBlockConnectivityTools. getLayoutBlocks(NamedBean sourceBean, NamedBean destBean, boolean validateOnly, LayoutBlockConnectivityTools.Routing pathMethod)
The is used in conjunction with the layout block routing protocol, to discover a clear path from a source layout block through to a destination layout block.java.util.List<LayoutBlock>
LayoutBlockManager. getLayoutBlocksOccupiedByRosterEntry(RosterEntry re)
Get a list of layout blocks which this roster entry appears to be occupying.java.lang.Class<LayoutBlock>
LayoutBlockManager. getNamedBeanClass()
Get the class of NamedBean supported by this Manager.java.util.ArrayList<LayoutBlock>
LayoutTurnout. getProtectedBlocks(NamedBean bean)
java.util.ArrayList<LayoutBlock>
LayoutTurnoutView. getProtectedBlocks(NamedBean bean)
java.util.List<LayoutBlock>
LayoutBlockManager. getProtectingBlocksByNamedBean(NamedBean nb, LayoutEditor panel)
java.util.List<LayoutBlock>
LayoutBlockManager. getProtectingBlocksBySensor(Sensor sensor, LayoutEditor panel)
java.util.List<LayoutBlock>
LayoutBlockManager. getProtectingBlocksBySensorOld(Sensor sensor, LayoutEditor panel)
Methods in jmri.jmrit.display.layoutEditor with parameters of type LayoutBlock Modifier and Type Method Description void
LayoutEditorAuxTools. addBeanSettings(Path p, LayoutConnectivity lc, LayoutBlock layoutBlock)
Searches for and adds BeanSetting's to a Path as needed.(package private) void
LayoutBlock. addRouteFromNeighbour(LayoutBlock src, jmri.jmrit.display.layoutEditor.LayoutBlock.RoutingPacket update)
boolean
LayoutBlockConnectivityTools. checkValidDest(LayoutBlock currentBlock, LayoutBlock nextBlock, LayoutBlock destBlock, java.util.List<LayoutBlock> destBlockn1, LayoutBlockConnectivityTools.Routing pathMethod)
Determines if one set of blocks is reachable from another set of blocks based upon the directions of the set of blocks.boolean
LayoutBlockConnectivityTools. checkValidDest(LayoutBlock currentBlock, LayoutBlock nextBlock, LayoutBlock destBlock, LayoutBlock destProBlock, LayoutBlockConnectivityTools.Routing pathMethod)
Determines if one set of blocks is reachable from another set of blocks based upon the directions of the set of blocks.void
LayoutBlockManager. deleteLayoutBlock(LayoutBlock block)
Remove an existing LayoutBlock.(package private) java.util.List<NamedBean>
LayoutBlockConnectivityTools. discoverPairDest(NamedBean source, LayoutBlock lProtecting, LayoutBlock lFacing, java.util.List<LayoutBlockConnectivityTools.FacingProtecting> blockList, LayoutBlockConnectivityTools.Routing pathMethod)
PositionablePoint
LayoutEditorFindItems. findPositionableLinkPoint(LayoutBlock blk1)
java.util.List<LayoutTurnout>
ConnectivityUtil. getAllTurnoutsThisBlock(LayoutBlock currLayoutBlock)
protected java.awt.Color
LayoutTrackView. getColorForTrackBlock(LayoutBlock lb)
protected java.awt.Color
LayoutTrackView. getColorForTrackBlock(LayoutBlock layoutBlock, boolean forceBlockTrackColor)
java.util.List<LayoutConnectivity>
LayoutEditorAuxTools. getConnectivityList(LayoutBlock blk)
Get Connectivity involving a specific Layout Block.protected int
LayoutSlip. getConnectivityStateForLayoutBlocks(LayoutBlock thisLayoutBlock, LayoutBlock prevLayoutBlock, LayoutBlock nextLayoutBlock, boolean suppress)
protected int
LayoutSlipView. getConnectivityStateForLayoutBlocks(LayoutBlock thisLayoutBlock, LayoutBlock prevLayoutBlock, LayoutBlock nextLayoutBlock, boolean suppress)
protected int
LayoutTurnout. getConnectivityStateForLayoutBlocks(LayoutBlock currLayoutBlock, LayoutBlock prevLayoutBlock, LayoutBlock nextLayoutBlock, boolean suppress)
protected int
LayoutTurnoutView. getConnectivityStateForLayoutBlocks(LayoutBlock currLayoutBlock, LayoutBlock prevLayoutBlock, LayoutBlock nextLayoutBlock, boolean suppress)
java.util.List<LayoutBlock>
LayoutBlockConnectivityTools. getLayoutBlocks(LayoutBlock sourceLayoutBlock, LayoutBlock destinationLayoutBlock, LayoutBlock protectingLayoutBlock, boolean validateOnly, LayoutBlockConnectivityTools.Routing pathMethod)
This used in conjunction with the layout block routing protocol, to discover a clear path from a source layout block through to a destination layout block.int
LayoutBlock. getNeighbourDirection(LayoutBlock neigh)
Get the direction of travel to our neighbouring block.boolean
LayoutEditor. highlightLayoutBlock(LayoutBlock inLayoutBlock)
highlight the specified layout block(package private) boolean
LayoutEditor. isLBLockUsed(NamedBean bean, LayoutBlock lblock)
(package private) void
LayoutBlock. notifiedNeighbourNoLongerMutual(LayoutBlock srcBlock)
abstract void
LayoutTrack. setAllLayoutBlocks(LayoutBlock layoutBlock)
Assign all the layout blocks in this trackabstract void
LayoutTrackView. setAllLayoutBlocks(LayoutBlock layoutBlock)
Assign all the layout blocks in this trackvoid
LayoutTurnout. setAllLayoutBlocks(LayoutBlock layoutBlock)
Assign all the layout blocks in this trackvoid
LayoutTurnoutView. setAllLayoutBlocks(LayoutBlock layoutBlock)
Assign all the layout blocks in this trackvoid
LayoutTurntable. setAllLayoutBlocks(LayoutBlock layoutBlock)
Assign all the layout blocks in this trackvoid
LayoutTurntableView. setAllLayoutBlocks(LayoutBlock layoutBlock)
Assign all the layout blocks in this trackvoid
LevelXing. setAllLayoutBlocks(LayoutBlock layoutBlock)
Assign all the layout blocks in this trackvoid
LevelXingView. setAllLayoutBlocks(LayoutBlock layoutBlock)
Assign all the layout blocks in this trackvoid
PositionablePoint. setAllLayoutBlocks(LayoutBlock layoutBlock)
Assign all the layout blocks in this trackvoid
PositionablePointView. setAllLayoutBlocks(LayoutBlock layoutBlock)
Assign all the layout blocks in this trackvoid
TrackSegment. setAllLayoutBlocks(LayoutBlock layoutBlock)
Assign all the layout blocks in this trackvoid
TrackSegmentView. setAllLayoutBlocks(LayoutBlock layoutBlock)
Assign all the layout blocks in this trackprotected java.awt.Color
LayoutTrackView. setColorForTrackBlock(java.awt.Graphics2D g2, LayoutBlock lb)
protected java.awt.Color
LayoutTrackView. setColorForTrackBlock(java.awt.Graphics2D g2, LayoutBlock layoutBlock, boolean forceBlockTrackColor)
protected void
LayoutTurnout. setLayoutBlock(LayoutBlock newLayoutBlock)
Set up Layout Block(s) for this Turnout.void
LayoutTurnoutView. setLayoutBlock(LayoutBlock newLayoutBlock)
Set up Layout Block(s) for this Turnout.void
LayoutTurntable. setLayoutBlock(LayoutBlock newLayoutBlock)
Set up a LayoutBlock for this LayoutTurntable.void
LayoutTurntableView. setLayoutBlock(LayoutBlock newLayoutBlock)
Set up a LayoutBlock for this LayoutTurntable.void
MemoryIcon. setLayoutBlock(LayoutBlock lb)
void
TrackSegment. setLayoutBlock(LayoutBlock newLayoutBlock)
Set up a LayoutBlock for this Track Segment.void
TrackSegmentView. setLayoutBlock(LayoutBlock newLayoutBlock)
Set up a LayoutBlock for this Track Segment.void
LevelXing. setLayoutBlockAC(LayoutBlock newLayoutBlock)
Add Layout Blocks.protected void
LayoutTurnout. setLayoutBlockB(LayoutBlock newLayoutBlock)
void
LayoutTurnoutView. setLayoutBlockB(LayoutBlock newLayoutBlock)
void
LevelXing. setLayoutBlockBD(LayoutBlock newLayoutBlock)
protected void
LayoutTurnout. setLayoutBlockC(LayoutBlock newLayoutBlock)
void
LayoutTurnoutView. setLayoutBlockC(LayoutBlock newLayoutBlock)
protected void
LayoutTurnout. setLayoutBlockD(LayoutBlock newLayoutBlock)
void
LayoutTurnoutView. setLayoutBlockD(LayoutBlock newLayoutBlock)
(package private) void
LayoutBlock. updateRoutingInfo(LayoutBlock src, jmri.jmrit.display.layoutEditor.LayoutBlock.RoutingPacket update)
boolean
LayoutEditor. validateSensor(java.lang.String sensorName, LayoutBlock blk, java.awt.Component openFrame)
Validates that the supplied occupancy sensor name corresponds to an existing sensor and is unique among all blocks.Method parameters in jmri.jmrit.display.layoutEditor with type arguments of type LayoutBlock Modifier and Type Method Description boolean
LayoutBlockConnectivityTools. checkValidDest(LayoutBlock currentBlock, LayoutBlock nextBlock, LayoutBlock destBlock, java.util.List<LayoutBlock> destBlockn1, LayoutBlockConnectivityTools.Routing pathMethod)
Determines if one set of blocks is reachable from another set of blocks based upon the directions of the set of blocks.java.util.List<NamedBean>
LayoutBlockConnectivityTools. getBeansInPath(java.util.List<LayoutBlock> blocklist, LayoutEditor panel, java.lang.Class<?> T)
Returns a list of NamedBeans (Signalhead, Signalmast or Sensor) that are assigned to block boundaries in a given list.Constructors in jmri.jmrit.display.layoutEditor with parameters of type LayoutBlock Constructor Description BlocksTested(LayoutBlock block)
LayoutConnectivity(LayoutBlock b1, LayoutBlock b2)
Constructor. -
Uses of LayoutBlock in jmri.jmrit.display.layoutEditor.blockRoutingTable
Methods in jmri.jmrit.display.layoutEditor.blockRoutingTable that return types with arguments of type LayoutBlock Modifier and Type Method Description Manager<LayoutBlock>
LayoutBlockNeighbourTableModel. getManager()
Manager<LayoutBlock>
LayoutBlockRouteTableModel. getManager()
Manager<LayoutBlock>
LayoutBlockThroughPathsTableModel. getManager()
Constructors in jmri.jmrit.display.layoutEditor.blockRoutingTable with parameters of type LayoutBlock Constructor Description LayoutBlockNeighbourTableModel(boolean editable, LayoutBlock lBlock)
LayoutBlockRouteTable(boolean editable, LayoutBlock block)
LayoutBlockRouteTableAction(java.lang.String name, LayoutBlock layoutBlock)
Create an action with a specific title.LayoutBlockRouteTableModel(boolean editable, LayoutBlock lBlock)
LayoutBlockThroughPathsTableModel(boolean editable, LayoutBlock lBlock)
-
Uses of LayoutBlock in jmri.jmrit.display.layoutEditor.LayoutEditorDialogs
Methods in jmri.jmrit.display.layoutEditor.LayoutEditorDialogs with parameters of type LayoutBlock Modifier and Type Method Description (package private) boolean
LayoutTrackEditor. hasNxSensorPairs(LayoutBlock loBlk)
Create a list of NX sensors that refer to the current layout block. -
Uses of LayoutBlock in jmri.jmrit.entryexit
Fields in jmri.jmrit.entryexit declared as LayoutBlock Modifier and Type Field Description (package private) LayoutBlock
DestinationPoints. destination
(package private) LayoutBlock
PointDetails. facing
Fields in jmri.jmrit.entryexit with type parameters of type LayoutBlock Modifier and Type Field Description (package private) java.util.List<LayoutBlock>
PointDetails. protectingBlocks
(package private) java.util.List<LayoutBlock>
DestinationPoints. routeDetails
Methods in jmri.jmrit.entryexit that return LayoutBlock Modifier and Type Method Description (package private) LayoutBlock
DestinationPoints. getFacing()
LayoutBlock
PointDetails. getFacing()
(package private) LayoutBlock
Source. getStart()
Methods in jmri.jmrit.entryexit that return types with arguments of type LayoutBlock Modifier and Type Method Description (package private) java.util.List<LayoutBlock>
DestinationPoints. getProtecting()
java.util.List<LayoutBlock>
PointDetails. getProtecting()
(package private) java.util.List<LayoutBlock>
Source. getSourceProtecting()
Methods in jmri.jmrit.entryexit with parameters of type LayoutBlock Modifier and Type Method Description void
EntryExitPairs. addNXSourcePoint(LayoutBlock facing, java.util.List<LayoutBlock> protecting, NamedBean loc, LayoutEditor panel)
(package private) Block
ManuallySetRoute. cycle(LayoutBlock protect, LayoutBlock face)
(package private) boolean
ManuallySetRoute. findDestPoint(LayoutBlock pro, LayoutBlock facing)
(package private) PointDetails
EntryExitPairs. getPointDetails(LayoutBlock source, java.util.List<LayoutBlock> destination, LayoutEditor panel)
Return either an existing point stored in pointDetails, or create a new one as required.java.util.List<java.lang.String>
EntryExitPairs. layoutBlockSensors(LayoutBlock layoutBlock)
Create a list of sensors that have the layout block as either facing or protecting.(package private) void
DestinationPoints. removeBlockFromRoute(LayoutBlock lBlock)
Method parameters in jmri.jmrit.entryexit with type arguments of type LayoutBlock Modifier and Type Method Description void
EntryExitPairs. addNXSourcePoint(LayoutBlock facing, java.util.List<LayoutBlock> protecting, NamedBean loc, LayoutEditor panel)
(package private) PointDetails
EntryExitPairs. getPointDetails(LayoutBlock source, java.util.List<LayoutBlock> destination, LayoutEditor panel)
Return either an existing point stored in pointDetails, or create a new one as required.Constructors in jmri.jmrit.entryexit with parameters of type LayoutBlock Constructor Description PointDetails(LayoutBlock facing, java.util.List<LayoutBlock> protecting)
Constructor parameters in jmri.jmrit.entryexit with type arguments of type LayoutBlock Constructor Description PointDetails(LayoutBlock facing, java.util.List<LayoutBlock> protecting)
-
Uses of LayoutBlock in jmri.server.json.layoutblock
Methods in jmri.server.json.layoutblock that return LayoutBlock Modifier and Type Method Description LayoutBlock
JsonLayoutBlockHttpService. getNamedBean(java.lang.String type, java.lang.String name, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
Methods in jmri.server.json.layoutblock with parameters of type LayoutBlock Modifier and Type Method Description protected com.fasterxml.jackson.databind.node.ObjectNode
JsonLayoutBlockHttpService. doGet(LayoutBlock layoutBlock, java.lang.String name, java.lang.String type, JsonRequest request)
com.fasterxml.jackson.databind.JsonNode
JsonLayoutBlockHttpService. doPost(LayoutBlock layoutBlock, com.fasterxml.jackson.databind.JsonNode data, java.lang.String name, java.lang.String type, JsonRequest request)
-