Uses of Class
jmri.jmrit.operations.rollingstock.cars.Car
Packages that use Car
Package
Description
JMRI JSON support for Operations.
-
Uses of Car in jmri.jmrit.operations
Methods in jmri.jmrit.operations with parameters of type CarModifier and TypeMethodDescriptionprotected voidCommonConductorYardmasterPanel.removeCarFromList(Car car) -
Uses of Car in jmri.jmrit.operations.locations
Methods in jmri.jmrit.operations.locations with parameters of type CarModifier and TypeMethodDescriptionvoidTrack.addReservedInRoute(Car car) Track.checkSchedule(Car car) Checks to see if car can be placed on this spur using this schedule.booleanTrack.checkScheduleAttribute(String attribute, String carType, Car car) voidTrack.deleteReservedInRoute(Car car) booleanTrack.isSpaceAvailable(Car car) Used to determine if there's space available at this track for the car.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 CarModifier and TypeMethodDescriptionbooleanSchedule.checkScheduleAttribute(String attribute, String carType, Car car) Schedule.checkScheduleItem(ScheduleItem si, Car car, Track track, boolean isRandomChecked) Schedule.searchSchedule(Car car, Track track) -
Uses of Car in jmri.jmrit.operations.rollingstock.cars
Methods in jmri.jmrit.operations.rollingstock.cars that return CarModifier and TypeMethodDescriptionCar.copy()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 CarModifier and TypeMethodDescriptionCarManager.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.CarManager.getByDivisionList()CarManager.getByFinalDestinationList()CarManager.getByKernelList()Sort by car kernel namesCarManager.getByLoadList()Sort by car loadsCarManager.getByLocationList()Sort by rolling stock locationCarManager.getByPickupList()CarManager.getByRouteList()CarManager.getByRweList()Sort by car return when empty location and trackCarManager.getByRwlList()CarManager.getByTrainDestinationList(Train train) Provides a very sorted list of cars assigned to the train.CarManager.getByWaitList()Sort by car wait countKernel.getCars()CarManager.getCarsLocationUnknown()protected Comparator<Car>CarManager.getComparator(int attribute) CarManager.sortByLoadPriority(List<Car> list) Methods in jmri.jmrit.operations.rollingstock.cars with parameters of type CarMethod parameters in jmri.jmrit.operations.rollingstock.cars with type arguments of type Car -
Uses of Car in jmri.jmrit.operations.rollingstock.cars.gui
Fields in jmri.jmrit.operations.rollingstock.cars.gui declared as CarFields in jmri.jmrit.operations.rollingstock.cars.gui with type parameters of type CarMethods in jmri.jmrit.operations.rollingstock.cars.gui that return CarMethods in jmri.jmrit.operations.rollingstock.cars.gui that return types with arguments of type CarModifier and TypeMethodDescriptionCarsTableModel.getCarList(int sort) CarsTableModel.getSelectedCarList()CarsTableFrame.getSortByList()Methods in jmri.jmrit.operations.rollingstock.cars.gui with parameters of type CarModifier and TypeMethodDescriptionprotected booleanvoidvoidMethod parameters in jmri.jmrit.operations.rollingstock.cars.gui with type arguments of type Car -
Uses of Car in jmri.jmrit.operations.rollingstock.cars.tools
Fields in jmri.jmrit.operations.rollingstock.cars.tools with type parameters of type CarConstructor parameters in jmri.jmrit.operations.rollingstock.cars.tools with type arguments of type Car -
Uses of Car in jmri.jmrit.operations.router
Methods in jmri.jmrit.operations.router with parameters of type CarModifier and TypeMethodDescriptionbooleanRouter.isCarRouteable(Car car, Train train, Location destination, Track track, PrintWriter buildReport) booleanRouter.isCarRouteable(Car car, Train train, Track track, PrintWriter buildReport) Determines if car can be routed to the destination trackbooleanRouter.setDestination(Car car, Train train, PrintWriter buildReport) Attempts to set the car's destination if a final destination exists. -
Uses of Car in jmri.jmrit.operations.trains
Methods in jmri.jmrit.operations.trains with parameters of type CarModifier and TypeMethodDescriptionTrainManager.getExcludeTrainListForCar(Car car, PrintWriter buildReport) TrainManager.getTrainForCar(Car car, PrintWriter buildReport) TrainManager.getTrainForCar(Car car, List<Train> excludeTrains, PrintWriter buildReport, boolean isExcludeRoutes) booleanTrain.isServiceable(PrintWriter buildReport, Car car) Note that this code was written after TrainBuilder.booleanTrain.isServiceable(Car car) Determines if this train will service this car.booleanTrain.isTrainAbleToService(PrintWriter buildReport, Car car) voidTrainManager.updateTrainComboBox(JComboBox<Train> box, Car car) Update combo box with trains that will service this car -
Uses of Car in jmri.jmrit.operations.trains.csv
Methods in jmri.jmrit.operations.trains.csv with parameters of type CarModifier and TypeMethodDescriptionprotected voidTrainCsvCommon.printCar(CSVPrinter fileOut, Car car, String code, String message, int count) Method parameters in jmri.jmrit.operations.trains.csv with type arguments of type CarModifier and TypeMethodDescriptionprotected voidTrainCsvCommon.printTrackComments(CSVPrinter fileOut, RouteLocation rl, List<Car> carList) -
Uses of Car in jmri.jmrit.operations.trains.tools
Fields in jmri.jmrit.operations.trains.tools declared as CarFields in jmri.jmrit.operations.trains.tools with type parameters of type CarModifier and TypeFieldDescriptionTrainByCarTypeFrame.carsComboBoxPrintShowCarsInTrain.carsInTrainConstructors in jmri.jmrit.operations.trains.tools with parameters of type CarModifierConstructorDescriptionTrainByCarTypeFrame(Car car) Show how a car for a given train is serviced -
Uses of Car in jmri.jmrit.operations.trains.trainbuilder
Fields in jmri.jmrit.operations.trains.trainbuilder with type parameters of type CarModifier and TypeFieldDescriptionTrainBuilderBase._carListTrainBuilderBase._notRoutableTrainCommon.doneCarsMethods in jmri.jmrit.operations.trains.trainbuilder with parameters of type CarModifier and TypeMethodDescriptionprotected voidTrainBuilderCars.addCarToTrain(Car car, RouteLocation rl, RouteLocation rld, Track track) Add car to train, and adjust train length and weightprotected booleanTrainBuilderBase.checkBasicMoves(Car car, Track track) protected booleanTrainBuilderBase.checkForAlternate(Car car, Track testTrack) Checks to see if track has an alternate and can be usedprotected RouteLocationTrainBuilderBase.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 booleanTrainBuilderBase.checkForLaterPickUp(Car car, RouteLocation rl, RouteLocation rld) Returns true if car can be picked up later in a train's routeprotected booleanTrainBuilderBase.checkPickupInterchangeDestinationRestrictions(Car car) Checks to see if an interchange track has destination restrictions.protected booleanTrainBuilderBase.checkPickupInterchangeOrSpur(Car car) Determines if car can be pulled from an interchange or spur.protected StringTrainBuilderBase.checkReserved(Train train, RouteLocation rld, Car car, Track destTrack, boolean printMsg) protected booleanTrainBuilderBase.checkThroughCarsAllowed(Car car, String destinationName) Returns true is cars are allowed to travel from origin to terminalprotected booleanTrainBuilderBase.checkTrainLength(Car car, RouteLocation rl, RouteLocation rld) Checks to see if train length would be exceeded if this car was added to the train.intTrainCommon.countPickupUtilityCars(List<Car> carList, Car car, boolean isManifest) intTrainCommon.countSetoutUtilityCars(List<Car> carList, Car car, boolean isLocal, boolean isManifest) protected intTrainCommon.countUtilityCars(String[] format, List<Car> carList, Car car, boolean isPickup) Scans the car list for utility cars that have the same attributes as the car provided.protected voidTrainCommon.dropCar(PrintWriter file, Car car, boolean isManifest) Adds the car's set out string to the output file using the manifest or switch list formatReturns the drop car string.protected booleanTrainBuilderBase.generateLoadCarDepartingAndTerminatingIntoStaging(Car car, Track stageTrack) Creates a car load for a car departing staging and eventually terminating into staging.protected ScheduleItemTrainBuilderBase.getScheduleItem(Car car, Track track) Used when generating a car load from staging.TrainBuilderBase.getTracksAtDestination(Car car, RouteLocation rld) Returns a list containing two tracks.static booleanTrainCommon.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 booleanTrainCommon.isNextCar(Car car, RouteLocation rl, RouteLocation rld, boolean isIgnoreTrack) TrainCommon.localMoveCar(Car car, boolean isManifest) Returns the move car string.Returns the pick up car string.protected voidTrainCommon.pickUpCar(PrintWriter file, Car car, boolean isManifest) Adds the car's pick up string to the output file using the manifest or switch list formatprotected voidTrainCommon.pickUpCarTruncated(PrintWriter file, Car car, boolean isManifest) Adds the car's pick up string to the output file using the truncated manifest formatprotected voidTrainCommon.pickupUtilityCars(PrintWriter file, 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.TrainCommon.pickupUtilityCars(List<Car> carList, Car car, boolean isManifest, boolean isTwoColumnTrack) protected voidTrainCommon.setoutUtilityCars(PrintWriter file, 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.TrainCommon.setoutUtilityCars(List<Car> carList, Car car, boolean isLocal, boolean isManifest) For the Conductor and Yardmaster windows.protected StringTrainCommon.setoutUtilityCars(List<Car> carList, Car car, boolean isLocal, boolean isManifest, boolean isTwoColumnTrack) protected voidTrainBuilderBase.showCarServiceOrder(Car car) protected voidTrainCommon.truncatedDropCar(PrintWriter file, Car car, boolean isManifest) Adds the car's set out string to the output file using the truncated manifest format.protected TrackTrainBuilderBase.tryStaging(Car car, RouteLocation rldSave) Method parameters in jmri.jmrit.operations.trains.trainbuilder with type arguments of type CarModifier and TypeMethodDescriptionprotected voidTrainCommon.blockCarsByTrack(PrintWriter file, Train train, 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 voidTrainCommon.blockCarsByTrackNameTwoColumn(PrintWriter file, Train train, List<Car> carList, RouteLocation rl, boolean printHeader, boolean isManifest) Produces a two column format for car pick ups and set outs.protected voidTrainCommon.blockCarsTwoColumn(PrintWriter file, Train train, List<Car> carList, RouteLocation rl, boolean printHeader, boolean isManifest) Produces a two column format for car pick ups and set outs.intTrainCommon.countPickupUtilityCars(List<Car> carList, Car car, boolean isManifest) intTrainCommon.countSetoutUtilityCars(List<Car> carList, Car car, boolean isLocal, boolean isManifest) protected intTrainCommon.countUtilityCars(String[] format, List<Car> carList, Car car, boolean isPickup) Scans the car list for utility cars that have the same attributes as the car provided.protected booleanTrainCommon.isThereWorkAtLocation(List<Car> carList, List<Engine> engList, RouteLocation rl) protected voidTrainCommon.pickupUtilityCars(PrintWriter file, 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.TrainCommon.pickupUtilityCars(List<Car> carList, Car car, boolean isManifest, boolean isTwoColumnTrack) protected voidTrainCommon.printTrackComments(PrintWriter file, RouteLocation rl, List<Car> carList, boolean isManifest) protected voidTrainCommon.setCarPickupAndSetoutTimes(Train train, RouteLocation rl, List<Car> carList) protected voidTrainCommon.setoutUtilityCars(PrintWriter file, 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.TrainCommon.setoutUtilityCars(List<Car> carList, Car car, boolean isLocal, boolean isManifest) For the Conductor and Yardmaster windows.protected StringTrainCommon.setoutUtilityCars(List<Car> carList, Car car, boolean isLocal, boolean isManifest, boolean isTwoColumnTrack) -
Uses of Car in jmri.server.json.operations
Methods in jmri.server.json.operations that return CarModifier and TypeMethodDescriptionprotected CarJsonOperationsHttpService.getCarByName(String name, Locale locale, int id) Methods in jmri.server.json.operations with parameters of type CarModifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.node.ObjectNodeGet a JSON representation of a Car.com.fasterxml.jackson.databind.node.ObjectNodeGet a JSON representation of a Car.com.fasterxml.jackson.databind.node.ObjectNodeJsonOperationsHttpService.postCar(Car car, com.fasterxml.jackson.databind.JsonNode data, 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 CarModifier and TypeMethodDescriptionprotected CarHtmlManifest.getCar(com.fasterxml.jackson.databind.JsonNode jnCar) Methods in jmri.web.servlet.operations that return types with arguments of type CarModifier and TypeMethodDescriptionHtmlManifest.getCarList(ArrayList<com.fasterxml.jackson.databind.JsonNode> jnCars) Methods in jmri.web.servlet.operations with parameters of type CarModifier and TypeMethodDescriptionprotected Stringprotected Stringprotected StringHtmlTrainCommon.getCarAttribute(Car car, String attribute, boolean isPickup, boolean isLocal) protected Stringprotected StringHtmlTrainCommon.pickupUtilityCars(List<Car> cars, Car car, boolean isManifest) protected StringHtmlTrainCommon.setoutUtilityCars(List<Car> cars, Car car, boolean isManifest) Method parameters in jmri.web.servlet.operations with type arguments of type CarModifier and TypeMethodDescriptionprotected StringHtmlTrainCommon.getTrackComments(RouteLocation location, List<Car> cars) HtmlTrainCommon.pickupUtilityCars(List<Car> cars, Car car, boolean isManifest) protected StringHtmlTrainCommon.setoutUtilityCars(List<Car> cars, Car car, boolean isManifest)