Uses of Class
jmri.jmrit.operations.rollingstock.cars.Car
-
Packages that use Car Package Description jmri.jmrit.operations jmri.jmrit.operations.locations jmri.jmrit.operations.locations.schedules jmri.jmrit.operations.rollingstock.cars jmri.jmrit.operations.rollingstock.cars.tools jmri.jmrit.operations.router jmri.jmrit.operations.trains jmri.jmrit.operations.trains.tools jmri.server.json.operations JMRI JSON support for Operations.jmri.web.servlet.operations -
-
Uses of Car in jmri.jmrit.operations
Methods in jmri.jmrit.operations with parameters of type Car Modifier and Type Method Description protected void
CommonConductorYardmasterPanel. removeCarFromList(Car car)
-
Uses of Car in jmri.jmrit.operations.locations
Methods in jmri.jmrit.operations.locations with parameters of type Car Modifier and Type Method Description void
Track. addReservedInRoute(Car car)
java.lang.String
Track. checkSchedule(Car car)
Checks to see if car can be placed on this spur using this schedule.boolean
Track. checkScheduleAttribute(java.lang.String attribute, java.lang.String carType, Car car)
void
Track. deleteReservedInRoute(Car car)
boolean
Track. isSpaceAvailable(Car car)
Used to determine if there's space available at this track for the car.java.lang.String
Track. scheduleNext(Car car)
Check to see if track has schedule and if it does will schedule the next item in the list. -
Uses of Car in jmri.jmrit.operations.locations.schedules
Methods in jmri.jmrit.operations.locations.schedules with parameters of type Car Modifier and Type Method Description boolean
Schedule. checkScheduleAttribute(java.lang.String attribute, java.lang.String carType, Car car)
java.lang.String
Schedule. checkScheduleItem(ScheduleItem si, Car car, Track track)
java.lang.String
Schedule. searchSchedule(Car car, Track track)
-
Uses of Car in jmri.jmrit.operations.rollingstock.cars
Fields in jmri.jmrit.operations.rollingstock.cars declared as Car Modifier and Type Field Description Car
CarSetFrame. _car
Fields in jmri.jmrit.operations.rollingstock.cars with type parameters of type Car Modifier and Type Field Description (package private) java.util.List<Car>
CarsTableModel. carList
Methods in jmri.jmrit.operations.rollingstock.cars that return Car Modifier and Type Method Description Car
Car. copy()
Car
CarsTableModel. getCarAtIndex(int index)
Car
CarManager. newRS(java.lang.String road, java.lang.String number)
Finds an existing Car or creates a new Car if needed requires car's road and numberMethods in jmri.jmrit.operations.rollingstock.cars that return types with arguments of type Car 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. getByDivisionList()
java.util.List<Car>
CarManager. getByFinalDestinationList()
java.util.List<Car>
CarManager. getByKernelList()
Sort by car kernel namesjava.util.List<Car>
CarManager. getByLoadList()
Sort by car loadsjava.util.List<Car>
CarManager. getByLocationList()
Sort by rolling stock locationjava.util.List<Car>
CarManager. getByPickupList()
java.util.List<Car>
CarManager. getByRouteList()
java.util.List<Car>
CarManager. getByRweList()
Sort by car return when empty location and trackjava.util.List<Car>
CarManager. getByRwlList()
java.util.List<Car>
CarManager. getByTrainDestinationList(Train train)
Provides a very sorted list of cars assigned to the train.java.util.List<Car>
CarManager. getByWaitList()
Sort by car wait countjava.util.List<Car>
CarsTableModel. getCarList(int sort)
java.util.List<Car>
Kernel. getCars()
java.util.List<Car>
CarManager. getCarsLocationUnknown()
protected java.util.Comparator<Car>
CarManager. getComparator(int attribute)
java.util.List<Car>
CarsTableModel. getSelectedCarList()
java.util.List<Car>
CarsTableFrame. getSortByList()
protected java.util.List<Car>
CarManager. sortByPriority(java.util.List<Car> list)
Methods in jmri.jmrit.operations.rollingstock.cars with parameters of type Car Modifier and Type Method Description protected boolean
CarSetFrame. change(Car car)
void
CarManager. deregister(Car car)
void
CarEditFrame. load(Car car)
void
CarSetFrame. load(Car car)
Method parameters in jmri.jmrit.operations.rollingstock.cars with type arguments of type Car Modifier and Type Method Description protected java.util.List<Car>
CarManager. sortByPriority(java.util.List<Car> list)
protected boolean
CarSetFrame. updateGroup(java.util.List<Car> list)
-
Uses of Car in jmri.jmrit.operations.rollingstock.cars.tools
Fields in jmri.jmrit.operations.rollingstock.cars.tools with type parameters of type Car Modifier and Type Field Description (package private) java.util.List<Car>
ExportCars. _carList
Constructor parameters in jmri.jmrit.operations.rollingstock.cars.tools with type arguments of type Car Constructor Description ExportCars(java.util.List<Car> carList)
-
Uses of Car in jmri.jmrit.operations.router
Methods in jmri.jmrit.operations.router with parameters of type Car 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 Car in jmri.jmrit.operations.trains
Fields in jmri.jmrit.operations.trains with type parameters of type Car Modifier and Type Field Description (package private) java.util.List<Car>
TrainBuilderBase. _carList
(package private) java.util.List<Car>
TrainBuilderBase. _notRoutable
(package private) java.util.List<Car>
TrainCommon. doneCars
Methods in jmri.jmrit.operations.trains with parameters of type Car Modifier and Type Method Description protected void
TrainBuilderBase. addCarToTrain(Car car, RouteLocation rl, RouteLocation rld, Track track)
Add car to train, and adjust train length and weightprotected boolean
TrainBuilderBase. checkBasicMoves(Car car, Track track)
protected RouteLocation
TrainBuilderBase. checkForEarlierDrop(Car car, Track trackTemp, RouteLocation rld, int start, int routeEnd)
Used to determine if car could be set out at earlier location in the train's route.protected boolean
TrainBuilderBase. checkForLaterPickUp(Car car, RouteLocation rl, RouteLocation rld)
Returns true if car can be picked up later in a train's routeprotected boolean
TrainBuilderBase. checkThroughCarsAllowed(Car car, java.lang.String destinationName)
Returns true is cars are allowed to travel from origin to terminalprotected boolean
TrainBuilderBase. checkTrainLength(Car car, RouteLocation rl, RouteLocation rld)
Checks to see if train length would be exceeded if this car was added to the train.int
TrainCommon. countPickupUtilityCars(java.util.List<Car> carList, Car car, boolean isManifest)
int
TrainCommon. countSetoutUtilityCars(java.util.List<Car> carList, Car car, boolean isLocal, boolean isManifest)
protected int
TrainCommon. countUtilityCars(java.lang.String[] format, java.util.List<Car> carList, Car car, boolean isPickup)
Scans the car list for utility cars that have the same attributes as the car provided.protected void
TrainCommon. dropCar(java.io.PrintWriter file, Car car, boolean isManifest)
Adds the car's set out string to the output file using the manifest or switch list formatjava.lang.String
TrainCommon. dropCar(Car car, boolean isManifest, boolean isTwoColumnTrack)
Returns the drop car string.protected boolean
TrainBuilderBase. generateLoadCarDepartingAndTerminatingIntoStaging(Car car, Track stageTrack)
Creates a car load for a car departing staging and eventually terminating into staging.protected ScheduleItem
TrainBuilderBase. getScheduleItem(Car car, Track track)
Used when generating a car load from staging.protected java.util.List<Track>
TrainBuilderBase. getTracksAtDestination(Car car, RouteLocation rld)
Returns a list containing two tracks.Train
TrainManager. getTrainForCar(Car car, java.io.PrintWriter buildReport)
Train
TrainManager. getTrainForCar(Car car, java.util.List<Train> excludeTrains, java.io.PrintWriter buildReport)
static boolean
TrainCommon. isNextCar(Car car, RouteLocation rl, RouteLocation rld)
Used to determine if car is the next to be processed when producing Manifests or Switch Lists.static boolean
TrainCommon. isNextCar(Car car, RouteLocation rl, RouteLocation rld, boolean isIgnoreTrack)
boolean
Train. isServiceable(java.io.PrintWriter buildReport, Car car)
Note that this code was written after TrainBuilder.boolean
Train. isServiceable(Car car)
Determines if this train will service this car.java.lang.String
TrainCommon. localMoveCar(Car car, boolean isManifest)
Returns the move car string.java.lang.String
TrainCommon. pickupCar(Car car, boolean isManifest, boolean isTwoColumnTrack)
Returns the pick up car string.protected void
TrainCommon. pickUpCar(java.io.PrintWriter file, Car car, boolean isManifest)
Adds the car's pick up string to the output file using the manifest or switch list formatprotected void
TrainCommon. pickUpCarTruncated(java.io.PrintWriter file, Car car, boolean isManifest)
Adds the car's pick up string to the output file using the truncated manifest formatprotected void
TrainCommon. pickupUtilityCars(java.io.PrintWriter file, java.util.List<Car> carList, Car car, boolean isTruncate, boolean isManifest)
Add a list of utility cars scheduled for pick up from the route location to the output file.java.lang.String
TrainCommon. pickupUtilityCars(java.util.List<Car> carList, Car car, boolean isManifest, boolean isTwoColumnTrack)
protected void
TrainCsvCommon. printCar(CSVPrinter fileOut, Car car, java.lang.String code, java.lang.String message, int count)
protected void
TrainCommon. setoutUtilityCars(java.io.PrintWriter file, java.util.List<Car> carList, Car car, boolean isTruncate, boolean isManifest)
Add a list of utility cars scheduled for drop at the route location to the output file.java.lang.String
TrainCommon. setoutUtilityCars(java.util.List<Car> carList, Car car, boolean isLocal, boolean isManifest)
For the Conductor and Yardmaster windows.protected java.lang.String
TrainCommon. setoutUtilityCars(java.util.List<Car> carList, Car car, boolean isLocal, boolean isManifest, boolean isTwoColumnTrack)
protected void
TrainBuilderBase. showCarServiceOrder(Car car)
protected void
TrainCommon. truncatedDropCar(java.io.PrintWriter file, Car car, boolean isManifest)
Adds the car's set out string to the output file using the truncated manifest format.protected Track
TrainBuilderBase. tryStaging(Car car, RouteLocation rldSave)
void
TrainManager. updateTrainComboBox(javax.swing.JComboBox<Train> box, Car car)
Update combo box with trains that will service this carMethod parameters in jmri.jmrit.operations.trains with type arguments of type Car 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.int
TrainCommon. countPickupUtilityCars(java.util.List<Car> carList, Car car, boolean isManifest)
int
TrainCommon. countSetoutUtilityCars(java.util.List<Car> carList, Car car, boolean isLocal, boolean isManifest)
protected int
TrainCommon. countUtilityCars(java.lang.String[] format, java.util.List<Car> carList, Car car, boolean isPickup)
Scans the car list for utility cars that have the same attributes as the car provided.protected boolean
TrainCommon. isThereWorkAtLocation(java.util.List<Car> carList, java.util.List<Engine> engList, RouteLocation rl)
protected void
TrainCommon. pickupUtilityCars(java.io.PrintWriter file, java.util.List<Car> carList, Car car, boolean isTruncate, boolean isManifest)
Add a list of utility cars scheduled for pick up from the route location to the output file.java.lang.String
TrainCommon. pickupUtilityCars(java.util.List<Car> carList, Car car, boolean isManifest, boolean isTwoColumnTrack)
protected void
TrainCommon. printTrackComments(java.io.PrintWriter file, RouteLocation rl, java.util.List<Car> carList, boolean isManifest)
protected void
TrainCsvCommon. printTrackComments(CSVPrinter fileOut, RouteLocation rl, java.util.List<Car> carList)
protected void
TrainCommon. setoutUtilityCars(java.io.PrintWriter file, java.util.List<Car> carList, Car car, boolean isTruncate, boolean isManifest)
Add a list of utility cars scheduled for drop at the route location to the output file.java.lang.String
TrainCommon. setoutUtilityCars(java.util.List<Car> carList, Car car, boolean isLocal, boolean isManifest)
For the Conductor and Yardmaster windows.protected java.lang.String
TrainCommon. setoutUtilityCars(java.util.List<Car> carList, Car car, boolean isLocal, boolean isManifest, boolean isTwoColumnTrack)
-
Uses of Car in jmri.jmrit.operations.trains.tools
Fields in jmri.jmrit.operations.trains.tools declared as Car Modifier and Type Field Description (package private) Car
TrainByCarTypeFrame. _car
Fields in jmri.jmrit.operations.trains.tools with type parameters of type Car Modifier and Type Field Description (package private) javax.swing.JComboBox<Car>
TrainByCarTypeFrame. carsComboBox
Constructors in jmri.jmrit.operations.trains.tools with parameters of type Car Constructor Description TrainByCarTypeFrame(Car car)
Show how a car for a given train is serviced -
Uses of Car in jmri.server.json.operations
Methods in jmri.server.json.operations that return Car Modifier and Type Method Description protected Car
JsonOperationsHttpService. getCarByName(java.lang.String name, java.util.Locale locale, int id)
Methods in jmri.server.json.operations with parameters of type Car Modifier and Type Method Description com.fasterxml.jackson.databind.node.ObjectNode
JsonUtil. getCar(Car car, com.fasterxml.jackson.databind.node.ObjectNode data, java.util.Locale locale)
Get a JSON representation of a Car.com.fasterxml.jackson.databind.node.ObjectNode
JsonUtil. getCar(Car car, java.util.Locale locale)
Get a JSON representation of a Car.com.fasterxml.jackson.databind.node.ObjectNode
JsonOperationsHttpService. postCar(Car car, com.fasterxml.jackson.databind.JsonNode data, java.util.Locale locale, int id)
Set the properties in the data parameter for the given car. -
Uses of Car in jmri.web.servlet.operations
Methods in jmri.web.servlet.operations that return Car Modifier and Type Method Description protected Car
HtmlManifest. getCar(com.fasterxml.jackson.databind.JsonNode jnCar)
Methods in jmri.web.servlet.operations that return types with arguments of type Car Modifier and Type Method Description protected java.util.List<Car>
HtmlManifest. getCarList(java.util.ArrayList<com.fasterxml.jackson.databind.JsonNode> jnCars)
Methods in jmri.web.servlet.operations with parameters of type Car Modifier and Type Method Description protected java.lang.String
HtmlTrainCommon. dropCar(Car car, int count, java.lang.String[] format, boolean isLocal)
protected java.lang.String
HtmlTrainCommon. dropCar(Car car, java.lang.String[] format, boolean isLocal)
protected java.lang.String
HtmlTrainCommon. getCarAttribute(Car car, java.lang.String attribute, boolean isPickup, boolean isLocal)
protected java.lang.String
HtmlTrainCommon. pickUpCar(Car car, int count, java.lang.String[] format)
protected java.lang.String
HtmlTrainCommon. pickUpCar(Car car, java.lang.String[] format)
java.lang.String
HtmlTrainCommon. pickupUtilityCars(java.util.List<Car> cars, Car car, boolean isManifest)
protected java.lang.String
HtmlTrainCommon. setoutUtilityCars(java.util.List<Car> cars, Car car, boolean isManifest)
Method parameters in jmri.web.servlet.operations with type arguments of type Car Modifier and Type Method Description protected java.lang.String
HtmlTrainCommon. getTrackComments(RouteLocation location, java.util.List<Car> cars)
java.lang.String
HtmlTrainCommon. pickupUtilityCars(java.util.List<Car> cars, Car car, boolean isManifest)
protected java.lang.String
HtmlTrainCommon. setoutUtilityCars(java.util.List<Car> cars, Car car, boolean isManifest)
-