Uses of Class
jmri.jmrit.logix.OBlock
-
Packages that use OBlock Package Description jmri.implementation Provides implementations of various JMRI interfaces.jmri.jmrit.beantable Provides table GUI for manipulating NamedBean objects: Turnouts, Sensors, SignalHeads.jmri.jmrit.beantable.beanedit jmri.jmrit.beantable.oblock jmri.jmrit.display Provides control panel and associated visible icon classes.jmri.jmrit.display.controlPanelEditor jmri.jmrit.display.controlPanelEditor.shape jmri.jmrit.logix Support for implementing Warrants in JMRI.jmri.jmrit.logix.configurexml jmri.jmrit.logixng.actions jmri.jmrit.logixng.expressions jmri.jmrit.picker jmri.server.json.oblock -
-
Uses of OBlock in jmri.implementation
Methods in jmri.implementation with parameters of type OBlock Modifier and Type Method Description (package private) void
DefaultConditionalExecute. clearBlockError(ConditionalAction action, OBlock b, java.util.List<java.lang.String> errorList)
(package private) void
DefaultConditionalExecute. deallocateBlock(ConditionalAction action, OBlock b, Reference<java.lang.Integer> actionCount, java.util.List<java.lang.String> errorList)
(package private) void
DefaultConditionalExecute. getBlockTrainName(ConditionalAction action, OBlock b, Memory mTo, java.lang.String actionStr, Reference<java.lang.Integer> actionCount, java.util.List<java.lang.String> errorList)
(package private) void
DefaultConditionalExecute. getBlockWarrant(ConditionalAction action, OBlock b, Memory mTo, java.lang.String actionStr, Reference<java.lang.Integer> actionCount, java.util.List<java.lang.String> errorList)
(package private) void
DefaultConditionalExecute. setBlockError(ConditionalAction action, OBlock b, Reference<java.lang.Integer> actionCount, java.util.List<java.lang.String> errorList)
(package private) void
DefaultConditionalExecute. setBlockInService(ConditionalAction action, OBlock b, Reference<java.lang.Integer> actionCount, java.util.List<java.lang.String> errorList)
(package private) void
DefaultConditionalExecute. setBlockOutOfService(ConditionalAction action, OBlock b, Reference<java.lang.Integer> actionCount, java.util.List<java.lang.String> errorList)
(package private) void
DefaultConditionalExecute. setBlockValue(ConditionalAction action, OBlock b, java.lang.String actionStr, Reference<java.lang.Integer> actionCount, java.util.List<java.lang.String> errorList)
-
Uses of OBlock in jmri.jmrit.beantable
Method parameters in jmri.jmrit.beantable with type arguments of type OBlock Modifier and Type Method Description void
OBlockTableAction. addToFrame(BeanTableFrame<OBlock> f)
void
OBlockTableAction. setManager(Manager<OBlock> om)
Configure managers for all tabs on OBlocks table pane.void
OBlockTableAction. setMenuBar(BeanTableFrame<OBlock> f)
-
Uses of OBlock in jmri.jmrit.beantable.beanedit
Methods in jmri.jmrit.beantable.beanedit that return OBlock Modifier and Type Method Description OBlock
OBlockEditAction. getByUserName(java.lang.String name)
-
Uses of OBlock in jmri.jmrit.beantable.oblock
Fields in jmri.jmrit.beantable.oblock declared as OBlock Modifier and Type Field Description (package private) OBlock
SignalTableModel.SignalRow. _fromBlock
(package private) OBlock
SignalTableModel.SignalRow. _toBlock
Methods in jmri.jmrit.beantable.oblock that return OBlock Modifier and Type Method Description protected OBlock
BlockPathTableModel. getBlock()
OBlock
OBlockTableModel. getBySystemName(java.lang.String name)
OBlock
OBlockTableModel. getByUserName(java.lang.String name)
(package private) OBlock
SignalTableModel.SignalRow. getFromBlock()
(package private) OBlock
SignalTableModel.SignalRow. getToBlock()
Methods in jmri.jmrit.beantable.oblock that return types with arguments of type OBlock Modifier and Type Method Description protected java.util.List<OBlock>
OBlockTableModel. getBeanList()
Manager<OBlock>
OBlockTableModel. getManager()
Methods in jmri.jmrit.beantable.oblock with parameters of type OBlock Modifier and Type Method Description void
OBlockTableModel. clickOn(OBlock t)
(package private) void
OBlockTableModel. deleteBean(OBlock bean)
protected void
TableFrames. disposeBlockPathFrame(OBlock block)
BlockPathTableModel
TableFrames. getBlockPathTableModel(OBlock block)
protected TableFrames.BlockPathJPanel
TableFrames. makeBlockPathEditPanel(OBlock block)
protected TableFrames.BlockPathFrame
TableFrames. makeBlockPathFrame(OBlock block)
protected TableFrames.PathTurnoutFrame
TableFrames. makePathTurnoutFrame(OBlock block, java.lang.String pathName)
protected TableFrames.PathTurnoutJPanel
TableFrames. makePathTurnoutPanel(OBlock block, java.lang.String pathName)
(package private) void
SignalTableModel.SignalRow. setFromBlock(OBlock fromBlock)
(package private) void
SignalTableModel.SignalRow. setToBlock(OBlock toBlock)
Constructors in jmri.jmrit.beantable.oblock with parameters of type OBlock Constructor Description BlockPathEditFrame(java.lang.String title, OBlock block, OPath path, TableFrames.PathTurnoutJPanel turnouttable, BlockPathTableModel pathmodel, TableFrames parent)
BlockPathTableModel(OBlock block, TableFrames parent)
SignalRow(NamedBean signal, OBlock fromBlock, Portal portal, OBlock toBlock, float length, boolean isMetric)
-
Uses of OBlock in jmri.jmrit.display
Methods in jmri.jmrit.display that return OBlock Modifier and Type Method Description OBlock
IndicatorTrack. getOccBlock()
OBlock
IndicatorTrackIcon. getOccBlock()
OBlock
IndicatorTurnoutIcon. getOccBlock()
Methods in jmri.jmrit.display that return types with arguments of type OBlock Modifier and Type Method Description NamedBeanHandle<OBlock>
IndicatorTrack. getNamedOccBlock()
NamedBeanHandle<OBlock>
IndicatorTrackIcon. getNamedOccBlock()
NamedBeanHandle<OBlock>
IndicatorTurnoutIcon. getNamedOccBlock()
Methods in jmri.jmrit.display with parameters of type OBlock Modifier and Type Method Description protected java.lang.String
IndicatorTrackPaths. getStatus(OBlock block, int state)
protected void
IndicatorTrackPaths. setLocoIcon(OBlock block, java.awt.Point pt, java.awt.Dimension size, Editor ed)
Method parameters in jmri.jmrit.display with type arguments of type OBlock Modifier and Type Method Description void
IndicatorTrack. setOccBlockHandle(NamedBeanHandle<OBlock> blockHandle)
void
IndicatorTrackIcon. setOccBlockHandle(NamedBeanHandle<OBlock> blockHandle)
void
IndicatorTurnoutIcon. setOccBlockHandle(NamedBeanHandle<OBlock> blockHandle)
-
Uses of OBlock in jmri.jmrit.display.controlPanelEditor
Fields in jmri.jmrit.display.controlPanelEditor declared as OBlock Modifier and Type Field Description protected OBlock
EditFrame. _homeBlock
(package private) OBlock
PortalList.PortalListModel. _homeBlock
(package private) OBlock
SignalList.SignalListModel. _homeBlock
Methods in jmri.jmrit.display.controlPanelEditor with parameters of type OBlock Modifier and Type Method Description protected java.lang.String
CircuitBuilder. checkForPortalIcons(OBlock block, java.lang.String key)
Check that there is at least one PortalIcon. called from various _editFrame'sprotected java.lang.String
CircuitBuilder. checkForPortals(OBlock block, java.lang.String key)
protected java.lang.String
CircuitBuilder. checkForTrackIcons(OBlock block, java.lang.String key)
protected void
CircuitBuilder. closeCircuitBuilder(OBlock block)
protected void
CircuitBuilder. editPortalError(OBlock block, Portal portal, PortalIcon icon)
protected java.util.ArrayList<Positionable>
CircuitBuilder. getCircuitIcons(OBlock block)
protected boolean
CircuitBuilder. iconIntersectsBlock(Positionable icon, OBlock block)
protected boolean
CircuitBuilder. queryConvertTrackIcons(OBlock block, java.lang.String key)
Check if the block being edited has all its track icons converted to indicator icons If icons need conversion. ask if user wants to convert themprotected boolean
CircuitBuilder. rectIntersectsBlock(java.awt.Rectangle iconRect, OBlock block)
protected void
CircuitBuilder. removeBlock(OBlock block)
Remove block, but keep the track icons.protected void
CircuitBuilder. setCurrentBlock(OBlock b)
protected void
CircuitBuilder. setIconGroup(OBlock block)
Edit frame closing, set block's icons to support OBlock's state changesConstructors in jmri.jmrit.display.controlPanelEditor with parameters of type OBlock Constructor Description ConvertDialog(CircuitBuilder cb, PositionableLabel pos, OBlock block)
EditCircuitFrame(java.lang.String title, CircuitBuilder parent, OBlock block)
EditCircuitPaths(java.lang.String title, CircuitBuilder parent, OBlock block)
EditFrame(java.lang.String title, CircuitBuilder parent, OBlock block)
EditPortalDirection(java.lang.String title, CircuitBuilder parent, OBlock block)
EditPortalFrame(java.lang.String title, CircuitBuilder parent, OBlock block)
EditPortalFrame(java.lang.String title, CircuitBuilder parent, OBlock block, Portal portal, PortalIcon icon)
EditSignalFrame(java.lang.String title, CircuitBuilder parent, OBlock block)
LengthPanel(OBlock block, java.lang.String label, java.lang.String tip)
PortalList(OBlock block, EditFrame parent)
PortalListModel(OBlock block, EditFrame parent)
SignalList(OBlock block, EditFrame parent)
SignalListModel(OBlock block, EditFrame parent)
-
Uses of OBlock in jmri.jmrit.display.controlPanelEditor.shape
Methods in jmri.jmrit.display.controlPanelEditor.shape with parameters of type OBlock Modifier and Type Method Description void
LocoLabel. setBlock(OBlock b)
-
Uses of OBlock in jmri.jmrit.logix
Fields in jmri.jmrit.logix declared as OBlock Modifier and Type Field Description protected OBlock
Warrant. _stoppingBlock
(package private) OBlock
TrackerTableAction.ChooseTracker. block
Methods in jmri.jmrit.logix that return OBlock Modifier and Type Method Description OBlock
OBlockManager. createNewOBlock(java.lang.String userName)
Create a new OBlock using an automatically incrementing system name.OBlock
OBlockManager. createNewOBlock(java.lang.String systemName, java.lang.String userName)
Create a new OBlock if it does not exist.OBlock
BlockOrder. getBlock()
protected OBlock
Warrant. getBlockAt(int idx)
Call is only valid when in MODE_LEARN and MODE_RUN.OBlock
Portal. getFromBlock()
protected OBlock
Tracker. getHeadBlock()
OBlock
OBlockManager. getOBlock(java.lang.String name)
Get an existing OBlock by a given name.OBlock
Portal. getOpposingBlock(OBlock block)
Get the OBlock on the other side of the Portal from the given OBlock.OBlock
Portal. getProtectedBlock(NamedBean signal)
Get the OBlock protected by a signal.protected OBlock
Engineer. getSynchBlock()
protected OBlock
Tracker. getTailBlock()
OBlock
Portal. getToBlock()
OBlock
OBlockManager. provide(java.lang.String name)
OBlock
OBlockManager. provideOBlock(java.lang.String name)
Methods in jmri.jmrit.logix that return types with arguments of type OBlock Modifier and Type Method Description protected java.util.List<OBlock>
Tracker. getBlocksOccupied()
java.lang.Class<OBlock>
OBlockManager. getNamedBeanClass()
Get the class of NamedBean supported by this Manager.protected java.util.List<OBlock>
Tracker. makeRange()
Build array of blocks reachable from head and tail portalsMethods in jmri.jmrit.logix with parameters of type OBlock Modifier and Type Method Description protected boolean
TrackerTableAction. checkBlock(OBlock b)
(package private) void
TrackerTableAction.ChooseTracker. checkClose(OBlock b)
java.lang.String
WarrantTableAction. checkPathPortals(OBlock b)
Validation of paths within a block.protected void
Engineer. clearWaitForSync(OBlock block)
Called by the warrant when a the block ahead of a moving train goes occupied.Tracker
TrackerTableAction. findTrackerIn(OBlock b)
See if any Trackers are occupying a given block.float
Portal. getEntranceSpaceForBlock(OBlock block)
Get the distance (plus or minus) in millimeters from the portal gap where the speed change indicated by the signal should be completed.protected int
Warrant. getIndexOfBlockAfter(OBlock block, int idx)
Find index of a block AFTER BlockOrder index.protected int
Warrant. getIndexOfBlockBefore(int idx, OBlock block)
Find index of block BEFORE BlockOrder index.OBlock
Portal. getOpposingBlock(OBlock block)
Get the OBlock on the other side of the Portal from the given OBlock.java.util.List<OPath>
Portal. getPathsFromOpposingBlock(OBlock block)
Get the paths from the portal in the next connected OBlock i.e. paths in the block on the other side of the portal from this (the param) block.java.util.List<OPath>
Portal. getPathsWithinBlock(OBlock block)
Get the paths to the portal within the connected OBlock i.e. the paths in this (the param) block through the Portal.java.lang.String
Portal. getPermissibleSpeed(OBlock block, boolean entrance)
Check signals, if any, for speed into/out of a given block.NamedBean
Portal. getSignalProtectingBlock(OBlock block)
Get the signal (either a SignalMast or a SignalHead) protecting an OBlock.protected void
SCWarrant. goingActive(OBlock block)
Block in the route going active.protected void
Warrant. goingActive(OBlock block)
Check if this is the next block of the train moving under the warrant Learn mode assumes route is set and clear.protected void
SCWarrant. goingInactive(OBlock block)
Block in the route is going Inactive.protected void
Warrant. goingInactive(OBlock block)
protected Tracker.PathSet
Tracker. hasPathInto(OBlock block)
boolean
TrackerTableAction. markNewTracker(OBlock block, java.lang.String name, LocoIcon marker)
Create and register a new Tracker.boolean
TrackerTableAction. mouseClickedOnBlock(OBlock block)
protected boolean
TrackerTableAction.TableFrame. mouseClickedOnBlock(OBlock block)
protected void
WarrantRoute. mouseClickedOnBlock(OBlock block)
void
WarrantTableAction. mouseClickedOnBlock(OBlock block)
protected boolean
Tracker. move(OBlock block, int state)
protected boolean
WarrantManager. okToRemoveBlock(OBlock block)
protected boolean
WarrantManager. okToRemoveBlockPath(OBlock block, OPath path)
protected static java.lang.String
WarrantRoute. pathIsValid(OBlock block, java.lang.String pathName)
protected void
WarrantManager. pathNameChange(OBlock block, java.lang.String oldName, java.lang.String newName)
(package private) boolean
WarrantRoute. pathsAreValid(OBlock block)
protected java.lang.String
BlockOrder. pathsConnect(OPath path1, Portal exit, OBlock block)
protected void
BlockOrder. setBlock(OBlock block)
void
Portal. setEntranceSpaceForBlock(OBlock block, float distance)
Set the distance (plus or minus) in millimeters from the portal gap where the speed change indicated by the signal should be completed.protected void
Portal. setEntryState(OBlock block)
Call is from BlockOrder when setting the path.boolean
Portal. setFromBlock(OBlock block, boolean changePaths)
Set this portal's fromBlock.boolean
Portal. setProtectSignal(NamedBean signal, float length, OBlock protectedBlock)
Set a signal to protect an OBlock.boolean
Portal. setToBlock(OBlock block, boolean changePaths)
Set this portal's toBlock.void
TrackerTableAction. stopTracker(Tracker t, OBlock b)
Stop a Tracker from tracking and remove from listprotected java.util.List<Warrant>
WarrantManager. warrantsUsing(OBlock block)
protected java.util.List<Warrant>
WarrantManager. warrantsUsing(OBlock block, OPath path)
Constructors in jmri.jmrit.logix with parameters of type OBlock Constructor Description BlockOrder(OBlock block)
BlockOrder(OBlock block, java.lang.String path, java.lang.String entry, java.lang.String exit)
Create BlockOrder.ChooseStartBlock(OBlock b, java.util.List<OBlock> l, Tracker t, TrackerTableAction tta)
ChooseTracker(OBlock b, java.util.List<Tracker> ts, int s)
OPath(java.lang.String name, OBlock owner, Portal entry, Portal exit, java.util.List<BeanSetting> settings)
Create an OPath object with default directions of NONE, and no setting element.Tracker(OBlock block, java.lang.String name, LocoIcon marker, TrackerTableAction tta)
Constructor parameters in jmri.jmrit.logix with type arguments of type OBlock Constructor Description ChooseStartBlock(OBlock b, java.util.List<OBlock> l, Tracker t, TrackerTableAction tta)
-
Uses of OBlock in jmri.jmrit.logix.configurexml
Methods in jmri.jmrit.logix.configurexml with parameters of type OBlock Modifier and Type Method Description (package private) OPath
OBlockManagerXml. loadPath(org.jdom2.Element elem, OBlock block)
-
Uses of OBlock in jmri.jmrit.logixng.actions
Methods in jmri.jmrit.logixng.actions that return types with arguments of type OBlock Modifier and Type Method Description LogixNG_SelectNamedBean<OBlock>
ActionOBlock. getSelectNamedBean()
-
Uses of OBlock in jmri.jmrit.logixng.expressions
Methods in jmri.jmrit.logixng.expressions that return types with arguments of type OBlock Modifier and Type Method Description LogixNG_SelectNamedBean<OBlock>
ExpressionOBlock. getSelectNamedBean()
-
Uses of OBlock in jmri.jmrit.picker
Methods in jmri.jmrit.picker that return OBlock Modifier and Type Method Description OBlock
PickListModel.OBlockPickModel. addBean(java.lang.String name)
Return bean with name given in parameter.OBlock
PickListModel.OBlockPickModel. addBean(java.lang.String sysName, java.lang.String userName)
Methods in jmri.jmrit.picker that return types with arguments of type OBlock Modifier and Type Method Description Manager<OBlock>
PickListModel.OBlockPickModel. getManager()
Get the Table Model Bean Manager.static PickListModel<OBlock>
PickListModel. oBlockPickModelInstance()
-
Uses of OBlock in jmri.server.json.oblock
Methods in jmri.server.json.oblock that return types with arguments of type OBlock Modifier and Type Method Description protected ProvidingManager<OBlock>
JsonOblockHttpService. getProvidingManager()
Methods in jmri.server.json.oblock with parameters of type OBlock Modifier and Type Method Description protected void
JsonOblockHttpService. doDelete(OBlock bean, java.lang.String name, java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
com.fasterxml.jackson.databind.node.ObjectNode
JsonOblockHttpService. doGet(OBlock oblock, java.lang.String name, java.lang.String type, JsonRequest request)
com.fasterxml.jackson.databind.node.ObjectNode
JsonOblockHttpService. doPost(OBlock oblock, java.lang.String name, java.lang.String type, com.fasterxml.jackson.databind.JsonNode data, JsonRequest request)
-