Uses of Interface
jmri.Section
-
Packages that use Section 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.beantable Provides table GUI for manipulating NamedBean objects: Turnouts, Sensors, SignalHeads.jmri.jmrit.dispatcher jmri.jmrit.logixng.expressions jmri.jmrit.roster jmri.managers Provides implementations of various JMRI managers. -
-
Uses of Section in jmri
Methods in jmri that return Section Modifier and Type Method Description Section
SectionManager. createNewSection(java.lang.String userName)
Create a New Section with Auto System Name.Section
SectionManager. createNewSection(java.lang.String systemName, java.lang.String userName)
Create a new Section if the Section does not exist.Section
SignalMastLogic. getAssociatedSection(SignalMast destination)
Return the Section configured between the source and destination mast.Section
SectionManager. getSection(java.lang.String name)
Get an existing Section.Section
TransitSection. getSection()
Get the associated section.Section
Transit. getSectionFromBlockAndSeq(Block b, int seq)
Get a Section from one of its Blocks and its sequence number.Section
Transit. getSectionFromConnectedBlockAndSeq(Block b, int seq)
Get Section from one of its EntryPoint Blocks and its sequence number.Methods in jmri that return types with arguments of type Section Modifier and Type Method Description java.util.ArrayList<Section>
Transit. getSectionListBySeq(int seq)
Get a List of Sections with a given sequence number.Methods in jmri with parameters of type Section Modifier and Type Method Description boolean
Transit. containsSection(Section s)
Check if a Section is in this Transit.void
SectionManager. deleteSection(Section y)
Remove an existing Section.int
Transit. getDirectionFromSectionAndSeq(Section s, int seq)
Get the direction of a Section in the transit from its sequence number.EntryPoint
Section. getEntryPointFromSection(Section s, int dir)
Get the EntryPoint for entry from the specified Section for travel in specified direction.EntryPoint
Section. getExitPointToSection(Section s, int dir)
Get the EntryPoint for exit to specified Section for travel in the specified direction.java.util.ArrayList<Transit>
TransitManager. getListUsingSection(Section s)
Get a list of Transits which use a specified Section.java.util.ArrayList<java.lang.Integer>
Transit. getSeqListBySection(Section s)
Get a List of sequence numbers for a given Section.TransitSection
Transit. getTransitSectionFromSectionAndSeq(Section s, int seq)
Get a TransitSection in the transit from its Section and sequence number.boolean
Transit. removeLastTemporarySection(Section s)
void
SignalMastLogic. setAssociatedSection(Section sec, SignalMast destination)
Define a Section between the source and destination mast.Constructors in jmri with parameters of type Section Constructor Description TransitSection(Section s, int seq, int direction)
Create a TransitSection.TransitSection(Section s, int seq, int direction, boolean alt)
Create an alternate or primary TransitSection.TransitSection(Section s, int seq, int direction, boolean alt, boolean safe, java.lang.String stopAllocatingSensorName)
Create an alternate or primary TransitSection, and defined as safe or not -
Uses of Section in jmri.implementation
Classes in jmri.implementation that implement Section Modifier and Type Class Description class
DefaultSection
Sections represent a group of one or more connected Blocks that may be allocated to a train traveling in a given direction.Methods in jmri.implementation that return Section Modifier and Type Method Description Section
DefaultSignalMastLogic. getAssociatedSection(SignalMast destination)
Return the Section configured between the source and destination mast.Section
DefaultTransit. getSectionFromBlockAndSeq(Block b, int seq)
Get a Section from one of its Blocks and its sequence number.Section
DefaultTransit. getSectionFromConnectedBlockAndSeq(Block b, int seq)
Get Section from one of its EntryPoint Blocks and its sequence number.Methods in jmri.implementation that return types with arguments of type Section Modifier and Type Method Description java.util.ArrayList<Section>
DefaultTransit. getSectionListBySeq(int seq)
Get a List of Sections with a given sequence number.Methods in jmri.implementation with parameters of type Section Modifier and Type Method Description boolean
DefaultTransit. containsSection(Section s)
Check if a Section is in this Transit.int
DefaultTransit. getDirectionFromSectionAndSeq(Section s, int seq)
Get the direction of a Section in the transit from its sequence number.EntryPoint
DefaultSection. getEntryPointFromSection(Section s, int dir)
Get the EntryPoint for entry from the specified Section for travel in specified direction.EntryPoint
DefaultSection. getExitPointToSection(Section s, int dir)
Get the EntryPoint for exit to specified Section for travel in the specified direction.java.util.ArrayList<java.lang.Integer>
DefaultTransit. getSeqListBySection(Section s)
Get a List of sequence numbers for a given Section.TransitSection
DefaultTransit. getTransitSectionFromSectionAndSeq(Section s, int seq)
Get a TransitSection in the transit from its Section and sequence number.boolean
DefaultTransit. removeLastTemporarySection(Section s)
void
DefaultSignalMastLogic. setAssociatedSection(Section sec, SignalMast destination)
Define a Section between the source and destination mast. -
Uses of Section in jmri.jmrit.beantable
Fields in jmri.jmrit.beantable declared as Section Modifier and Type Field Description (package private) Section
SectionTableAction. curSection
Methods in jmri.jmrit.beantable with parameters of type Section Modifier and Type Method Description (package private) boolean
TransitTableAction. inSectionList(Section s, java.util.List<Section> sList)
Method parameters in jmri.jmrit.beantable with type arguments of type Section Modifier and Type Method Description (package private) boolean
TransitTableAction. inSectionList(Section s, java.util.List<Section> sList)
void
SectionTableAction. setMenuBar(BeanTableFrame<Section> f)
Insert 2 table specific menus. -
Uses of Section in jmri.jmrit.dispatcher
Fields in jmri.jmrit.dispatcher declared as Section Modifier and Type Field Description (package private) Section
AutoAllocate. curSection
Methods in jmri.jmrit.dispatcher that return Section Modifier and Type Method Description protected Section
AutoAllocate. autoNextSectionChoice(java.util.List<Section> sList, AllocationRequest ar, int sectionSeqNo)
Entered to request a choice of Next Section when a Section is being allocated and there are alternate Section choices for the next Section.protected Section
DispatcherFrame. checkBlocksNotInAllocatedSection(Section s, AllocationRequest ar)
protected Section
AutoAllocate. checkBlocksNotInReservedSection(ActiveTrain at, Section sectionToCheck)
Section
ActiveTrain. getEndBlockSection()
Section
ActiveTrain. getLastAllocatedSection()
protected Section
AutoActiveTrain. getLastAllocatedSection()
Section
ActiveTrain. getLastAllocOverrideSafe()
Section
AllocatedSection. getNextSection()
Section
ActiveTrain. getNextSectionToAllocate()
protected Section
ActiveTrain. getSecondAllocatedSection()
Section
AllocatedSection. getSection()
Section
AllocationRequest. getSection()
protected Section
AllocationPlan. getTargetSection(int i)
Methods in jmri.jmrit.dispatcher with parameters of type Section Modifier and Type Method Description protected boolean
ActiveTrain. addEndSection(Section s, int seq)
AllocatedSection
DispatcherFrame. allocateSection(AllocationRequest ar, Section ns)
Allocates a Section to an Active Train according to the information in an AllocationRequest.protected Section
DispatcherFrame. checkBlocksNotInAllocatedSection(Section s, AllocationRequest ar)
protected Section
AutoAllocate. checkBlocksNotInReservedSection(ActiveTrain at, Section sectionToCheck)
protected boolean
DispatcherFrame. checkForBlockInAllocatedSection(Block b, Section ignoreSection)
Checks for a block in allocated section, except oneprotected java.util.List<LayoutTrackExpectedState<LayoutTurnout>>
AutoTurnouts. checkTurnoutsInSection(Section s, int seqNum, Section nextSection, ActiveTrain at, Section prevSection)
Check that all turnouts are correctly set for travel in the designated Section to the next Section.(package private) java.util.List<LayoutTrackExpectedState<LayoutTurnout>>
DispatcherFrame. checkTurnoutStates(Section s, int sSeqNum, Section nextSection, ActiveTrain at, Section prevSection)
boolean
DispatcherFrame. extendActiveTrainsPath(Section s, ActiveTrain at, JmriJFrame jFrame)
Extend the allocation of a section to a active train.protected AllocationRequest
DispatcherFrame. findAllocationRequestInQueue(Section s, int seq, int dir, ActiveTrain at)
int
ActiveTrain. getAllocationDirectionFromSectionAndSeq(Section s, int seqNo)
int
ActiveTrain. getRunningDirectionFromSectionAndSeq(Section s, int seqNo)
java.lang.String
DispatcherFrame. getSectionName(Section sec)
protected boolean
ActiveTrain. isInAllocatedList(Section s)
boolean
DispatcherFrame. removeFromActiveTrainPath(Section s, ActiveTrain at, JmriJFrame jFrame)
protected boolean
DispatcherFrame. requestAllocation(ActiveTrain activeTrain, Section section, int direction, int seqNumber, boolean showErrorMessages, JmriJFrame frame)
protected boolean
DispatcherFrame. requestAllocation(ActiveTrain activeTrain, Section section, int direction, int seqNumber, boolean showErrorMessages, JmriJFrame frame, boolean firstAllocation)
Creates an Allocation Request, and registers it with Dispatchervoid
ActiveTrain. setEndBlockSection(Section eSection)
protected boolean
AllocatedSection. setNextSection(Section sec, int i)
protected void
AllocationPlan. setTargetSection(Section s, int seq, int i)
protected java.util.List<LayoutTrackExpectedState<LayoutTurnout>>
AutoTurnouts. setTurnoutsInSection(Section s, int seqNum, Section nextSection, ActiveTrain at, boolean trustKnownTurnouts, Section prevSection)
Set all turnouts for travel in the designated Section to the next Section.Method parameters in jmri.jmrit.dispatcher with type arguments of type Section Modifier and Type Method Description protected Section
AutoAllocate. autoNextSectionChoice(java.util.List<Section> sList, AllocationRequest ar, int sectionSeqNo)
Entered to request a choice of Next Section when a Section is being allocated and there are alternate Section choices for the next Section.Constructors in jmri.jmrit.dispatcher with parameters of type Section Constructor Description AllocatedSection(Section s, ActiveTrain at, int seq, Section next, int nextSeqNo)
Create an AllocatedSection.AllocationRequest(Section s, int num, int dir, ActiveTrain at)
Create an AllocationRequest. -
Uses of Section in jmri.jmrit.logixng.expressions
Methods in jmri.jmrit.logixng.expressions that return types with arguments of type Section Modifier and Type Method Description LogixNG_SelectNamedBean<Section>
ExpressionSection. getSelectNamedBean()
-
Uses of Section in jmri.jmrit.roster
Methods in jmri.jmrit.roster with parameters of type Section Modifier and Type Method Description void
RosterSpeedProfile. changeLocoSpeed(DccThrottle t, Section sec, float speed)
Set speed of a throttle to a speeed set by a float, using the section for the length details Set speed of a throttle.void
RosterSpeedProfile. changeLocoSpeed(DccThrottle t, Section sec, float speed, float usePercentage)
Set speed of a throttle. -
Uses of Section in jmri.managers
Methods in jmri.managers that return Section Modifier and Type Method Description Section
DefaultSectionManager. createNewSection(java.lang.String userName)
Create a New Section with Auto System Name.Section
DefaultSectionManager. createNewSection(java.lang.String systemName, java.lang.String userName)
Create a new Section if the Section does not exist.Section
DefaultSectionManager. getSection(java.lang.String name)
Get an existing Section.Methods in jmri.managers that return types with arguments of type Section Modifier and Type Method Description java.lang.Class<Section>
DefaultSectionManager. getNamedBeanClass()
Methods in jmri.managers with parameters of type Section Modifier and Type Method Description void
DefaultSectionManager. deleteSection(Section y)
Remove an existing Section.java.util.ArrayList<Transit>
DefaultTransitManager. getListUsingSection(Section s)
Get a list of Transits which use a specified Section.
-