Uses of Class
jmri.jmrit.operations.trains.Train
-
Packages that use Train Package Description jmri.jmris Server implementation for the JMRI interfaces.jmri.jmris.simpleserver jmri.jmrit.operations jmri.jmrit.operations.automation jmri.jmrit.operations.locations jmri.jmrit.operations.rollingstock jmri.jmrit.operations.rollingstock.cars jmri.jmrit.operations.rollingstock.engines jmri.jmrit.operations.router jmri.jmrit.operations.routes jmri.jmrit.operations.routes.tools jmri.jmrit.operations.trains jmri.jmrit.operations.trains.schedules jmri.jmrit.operations.trains.tools jmri.jmrit.vsdecoder Provides throttle-controlled locomotive sound simulation without the need of an on-board sound decoder.jmri.jmrix.rfid.swing.tagcarwin jmri.server.json.operations JMRI JSON support for Operations.jmri.web.servlet.operations -
-
Uses of Train in jmri.jmris
Methods in jmri.jmris with parameters of type Train Modifier and Type Method Description abstract void
AbstractOperationsServer. sendFullStatus(Train train)
sends the full status for a train to a client -
Uses of Train in jmri.jmris.simpleserver
Methods in jmri.jmris.simpleserver with parameters of type Train Modifier and Type Method Description void
SimpleOperationsServer. sendFullStatus(Train train)
sends the full status for a train to a client -
Uses of Train in jmri.jmrit.operations
Fields in jmri.jmrit.operations declared as Train Modifier and Type Field Description protected Train
CommonConductorYardmasterPanel. _train
-
Uses of Train in jmri.jmrit.operations.automation
Fields in jmri.jmrit.operations.automation declared as Train Modifier and Type Field Description protected Train
AutomationItem. _train
Methods in jmri.jmrit.operations.automation that return Train Modifier and Type Method Description Train
AutomationItem. getTrain()
Methods in jmri.jmrit.operations.automation with parameters of type Train Modifier and Type Method Description void
AutomationItem. setTrain(Train train)
-
Uses of Train in jmri.jmrit.operations.locations
Fields in jmri.jmrit.operations.locations with type parameters of type Train Modifier and Type Field Description (package private) javax.swing.JComboBox<Train>
TrackEditFrame. comboBoxDropTrains
(package private) javax.swing.JComboBox<Train>
TrackEditFrame. comboBoxPickupTrains
(package private) javax.swing.JComboBox<Train>
YardmasterPanel. trainComboBox
Methods in jmri.jmrit.operations.locations with parameters of type Train Modifier and Type Method Description boolean
Track. isDropTrainAccepted(Train train)
Determine if train can set out cars to this track.boolean
Track. isPickupTrainAccepted(Train train)
Determine if train can pick up cars from this track. -
Uses of Train in jmri.jmrit.operations.rollingstock
Fields in jmri.jmrit.operations.rollingstock declared as Train Modifier and Type Field Description protected Train
RollingStock. _train
Fields in jmri.jmrit.operations.rollingstock with type parameters of type Train Modifier and Type Field Description javax.swing.JComboBox<Train>
RollingStockSetFrame. trainBox
Methods in jmri.jmrit.operations.rollingstock that return Train Modifier and Type Method Description Train
RollingStock. getTrain()
Methods in jmri.jmrit.operations.rollingstock with parameters of type Train Modifier and Type Method Description java.util.List<T>
RollingStockManager. getByTrainList(Train train)
Get a list of rolling stocks assigned to a train ordered by locationjava.util.List<T>
RollingStockManager. getList(Train train)
Returns a list (no order) of RollingStock in a train.protected void
RollingStockSetFrame. setRouteLocationAndDestination(RollingStock rs, Train train, RouteLocation rl, RouteLocation rd)
void
RollingStock. setTrain(Train train)
Sets the train that will service this rolling stock. -
Uses of Train in jmri.jmrit.operations.rollingstock.cars
Methods in jmri.jmrit.operations.rollingstock.cars with parameters of type Train Modifier and Type Method Description java.util.List<Car>
CarManager. getAvailableTrainList(Train train)
Return a list available cars (no assigned train or car already assigned to this train) on a route, cars are ordered least recently moved to most recently moved.java.util.List<Car>
CarManager. getByTrainDestinationList(Train train)
Provides a very sorted list of cars assigned to the train. -
Uses of Train in jmri.jmrit.operations.rollingstock.engines
Methods in jmri.jmrit.operations.rollingstock.engines with parameters of type Train Modifier and Type Method Description java.util.List<Engine>
EngineManager. getAvailableTrainList(Train train)
return a list available engines (no assigned train) engines are ordered least recently moved to most recently moved.java.util.List<Engine>
EngineManager. getByTrainBlockingList(Train train)
Returns a list of locos sorted by blocking number for a train. -
Uses of Train in jmri.jmrit.operations.router
Fields in jmri.jmrit.operations.router with type parameters of type Train Modifier and Type Field Description protected java.util.List<Train>
Router. _lastLocationTrains
protected java.util.Hashtable<java.lang.String,Train>
Router. _listTrains
protected java.util.List<Train>
Router. _nextLocationTrains
Methods in jmri.jmrit.operations.router with parameters of type Train Modifier and Type Method Description boolean
Router. isCarRouteable(Car car, Train train, Location destination, Track track, java.io.PrintWriter buildReport)
boolean
Router. isCarRouteable(Car car, Train train, Track track, java.io.PrintWriter buildReport)
Determines if car can be routed to the destination trackboolean
Router. setDestination(Car car, Train train, java.io.PrintWriter buildReport)
Attempts to set the car's destination if a final destination exists. -
Uses of Train in jmri.jmrit.operations.routes
Fields in jmri.jmrit.operations.routes declared as Train Modifier and Type Field Description (package private) Train
RouteEditFrame. _train
Methods in jmri.jmrit.operations.routes with parameters of type Train Modifier and Type Method Description void
RouteEditFrame. initComponents(Route route, Train train)
-
Uses of Train in jmri.jmrit.operations.routes.tools
Fields in jmri.jmrit.operations.routes.tools declared as Train Modifier and Type Field Description (package private) Train
RouteBlockingOrderEditFrame. _train
-
Uses of Train in jmri.jmrit.operations.trains
Fields in jmri.jmrit.operations.trains declared as Train Modifier and Type Field Description (package private) Train
TrainBuilderBase. _train
(package private) Train
TrainConductorAction. _train
(package private) Train
TrainEditBuildOptionsFrame. _train
Train
TrainEditFrame. _train
(package private) Train
TrainIcon. _train
(package private) Train
TrainLoadOptionsFrame. _train
(package private) Train
TrainRoadOptionsFrame. _train
protected Train
JsonManifest. train
Fields in jmri.jmrit.operations.trains with type parameters of type Train Modifier and Type Field Description (package private) java.util.List<Train>
TrainsTableModel. sysList
Methods in jmri.jmrit.operations.trains that return Train Modifier and Type Method Description Train
TrainManager. copyTrain(Train train, java.lang.String trainName)
Makes a copy of an existing train.Train
TrainIcon. getTrain()
Train
TrainManager. getTrainById(java.lang.String id)
Train
TrainManager. getTrainByName(java.lang.String name)
Train
TrainManager. getTrainForCar(Car car, java.io.PrintWriter buildReport)
Train
TrainManager. getTrainForCar(Car car, java.util.List<Train> excludeTrains, java.io.PrintWriter buildReport)
Train
TrainManager. newTrain(java.lang.String name)
Finds an existing train or creates a new train if needed.Methods in jmri.jmrit.operations.trains that return types with arguments of type Train Modifier and Type Method Description java.util.List<Train>
TrainsTableFrame. getSortByList()
java.util.List<Train>
TrainsTableFrame. getSortByList(java.lang.String sortBy)
javax.swing.JComboBox<Train>
TrainManager. getTrainComboBox()
java.util.List<Train>
TrainManager. getTrainsArrivingThisLocationList(Location location)
Provides a list of trains ordered by arrival time to a locationjava.util.List<Train>
TrainManager. getTrainsByDepartureList()
Sort by train departure location namejava.util.List<Train>
TrainManager. getTrainsByDescriptionList()
Sort by train descriptionjava.util.List<Train>
TrainManager. getTrainsByIdList()
Sort by train idjava.util.List<Train>
TrainManager. getTrainsByNameList()
Sort by train namejava.util.List<Train>
TrainManager. getTrainsByRouteList()
Sort by train route namejava.util.List<Train>
TrainManager. getTrainsByStatusList()
Sort by train statusjava.util.List<Train>
TrainManager. getTrainsByTerminatesList()
Sort by train termination location namejava.util.List<Train>
TrainManager. getTrainsByTimeList()
Sort by train departure timeMethods in jmri.jmrit.operations.trains with parameters of type Train Modifier and Type Method Description protected void
TrainCommon. blockCarsByTrack(java.io.PrintWriter file, Train train, java.util.List<Car> carList, RouteLocation rl, boolean printHeader, boolean isManifest)
Block cars by track, then pick up and set out for each location in a train's route.protected void
TrainCommon. blockCarsByTrackNameTwoColumn(java.io.PrintWriter file, Train train, java.util.List<Car> carList, RouteLocation rl, boolean printHeader, boolean isManifest)
Produces a two column format for car pick ups and set outs.protected void
TrainCommon. blockCarsTwoColumn(java.io.PrintWriter file, Train train, java.util.List<Car> carList, RouteLocation rl, boolean printHeader, boolean isManifest)
Produces a two column format for car pick ups and set outs.boolean
TrainBuilder. build(Train train)
Build rules: Need at least one location in route to build train Select only locos and cars that the train can service If required, add caboose or car with FRED to train When departing staging find a track matching train requirements All cars and locos on one track must leave staging Optionally block cars from staging Route cars with home divisions Route cars with custom loads or final destinations.protected void
TrainCsvCommon. checkForEngineOrCabooseChange(CSVPrinter fileOut, Train train, RouteLocation rl)
Train
TrainManager. copyTrain(Train train, java.lang.String trainName)
Makes a copy of an existing train.void
TrainManager. deregister(Train train)
Forget a NamedBean Object created outside the manager.static boolean
TrainCommon. isThereWorkAtLocation(Train train, Location location)
returns true if the train has work at the locationprotected void
TrainCsvCommon. printLogoURL(CSVPrinter fileOut, Train train)
protected void
TrainCsvCommon. printRouteComment(CSVPrinter fileOut, Train train)
protected void
TrainCsvCommon. printTrainComment(CSVPrinter fileOut, Train train)
void
TrainManager. register(Train train)
Remember a NamedBean Object created outside the manager.void
TrainIcon. setTrain(Train train)
Method parameters in jmri.jmrit.operations.trains with type arguments of type Train Modifier and Type Method Description void
TrainManager. buildSelectedTrains(java.util.List<Train> trains)
Train
TrainManager. getTrainForCar(Car car, java.util.List<Train> excludeTrains, java.io.PrintWriter buildReport)
boolean
TrainManager. printSelectedTrains(java.util.List<Train> trains)
boolean
TrainManager. terminateSelectedTrains(java.util.List<Train> trains)
void
TrainManager. updateTrainComboBox(javax.swing.JComboBox<Train> box)
void
TrainManager. updateTrainComboBox(javax.swing.JComboBox<Train> box, Car car)
Update combo box with trains that will service this carConstructors in jmri.jmrit.operations.trains with parameters of type Train Constructor Description JsonManifest(Train train)
TrainConductorAction(Train train)
TrainConductorFrame(Train train)
TrainConductorPanel(Train train)
TrainCsvManifest(Train train)
TrainEditFrame(Train train)
TrainManifest(Train train)
-
Uses of Train in jmri.jmrit.operations.trains.schedules
Fields in jmri.jmrit.operations.trains.schedules with type parameters of type Train Modifier and Type Field Description (package private) java.util.List<Train>
TrainsScheduleTableModel. sysList
Methods in jmri.jmrit.operations.trains.schedules that return types with arguments of type Train Modifier and Type Method Description java.util.List<Train>
TrainsScheduleTableModel. getSelectedTrainList()
-
Uses of Train in jmri.jmrit.operations.trains.tools
Fields in jmri.jmrit.operations.trains.tools declared as Train Modifier and Type Field Description (package private) Train
PrintSavedBuildReportAction. _train
(package private) Train
PrintSavedTrainManifestAction. _train
(package private) Train
PrintTrainAction. _train
(package private) Train
PrintTrainBuildReportAction. _train
(package private) Train
PrintTrainManifestAction. _train
(package private) Train
PrintTrainsFrame. _train
(package private) Train
ShowCarsInTrainAction. _train
(package private) Train
ShowCarsInTrainFrame. _train
(package private) Train
TrainByCarTypeAction. _train
(package private) Train
TrainByCarTypeFrame. _train
(package private) Train
TrainCopyAction. _train
(package private) Train
TrainManifestOptionFrame. _train
(package private) Train
TrainScriptFrame. _train
(package private) Train
TrainsTableSetColorAction. _train
Fields in jmri.jmrit.operations.trains.tools with type parameters of type Train Modifier and Type Field Description (package private) javax.swing.JComboBox<Train>
TrainCopyFrame. trainBox
(package private) javax.swing.JComboBox<Train>
TrainsTableSetColorFrame. trainBox
(package private) javax.swing.JComboBox<Train>
TrainByCarTypeFrame. trainsComboBox
Methods in jmri.jmrit.operations.trains.tools with parameters of type Train Modifier and Type Method Description void
ShowCarsInTrainFrame. initComponents(Train train)
Constructors in jmri.jmrit.operations.trains.tools with parameters of type Train Constructor Description PrintSavedBuildReportAction(boolean isPreview, Train train)
PrintSavedTrainManifestAction(boolean isPreview, Train train)
PrintTrainAction(boolean isPreview, Train train)
PrintTrainBuildReportAction(boolean isPreview, Train train)
PrintTrainManifestAction(boolean isPreview, Train train)
PrintTrainsFrame(boolean isPreview, Train train)
ShowCarsInTrainAction(Train train)
TrainByCarTypeAction(Train train)
TrainByCarTypeFrame(Train train)
Show how cars for a train can be servicedTrainCopyAction(Train train)
TrainCopyFrame(Train train)
TrainsTableSetColorAction(Train train)
TrainsTableSetColorFrame(Train train)
-
Uses of Train in jmri.jmrit.vsdecoder
Methods in jmri.jmrit.vsdecoder with parameters of type Train Modifier and Type Method Description protected PhysicalLocation
VSDecoder. getTrainPosition(Train t)
Get the physical location of the given Operations Train -
Uses of Train in jmri.jmrix.rfid.swing.tagcarwin
Methods in jmri.jmrix.rfid.swing.tagcarwin with parameters of type Train Modifier and Type Method Description int
TagMonitorPane. getCarTrainPosition(RollingStock thisCar, Train thisTrain)
If this car (engine or car) is in a train, determine what the car position is -
Uses of Train in jmri.server.json.operations
Methods in jmri.server.json.operations with parameters of type Train Modifier and Type Method Description com.fasterxml.jackson.databind.node.ObjectNode
JsonUtil. getTrain(Train train, java.util.Locale locale)
Get the JSON representation of a Train. -
Uses of Train in jmri.web.servlet.operations
Fields in jmri.web.servlet.operations declared as Train Modifier and Type Field Description protected Train
HtmlTrainCommon. train
Constructors in jmri.web.servlet.operations with parameters of type Train Constructor Description HtmlConductor(java.util.Locale locale, Train train)
HtmlManifest(java.util.Locale locale, Train train)
HtmlTrainCommon(java.util.Locale locale, Train train)
-