Class PrintShowCarsInTrain
java.lang.Object
jmri.jmrit.operations.trains.trainbuilder.TrainCommon
jmri.jmrit.operations.trains.tools.PrintShowCarsInTrain
Print the cars in the train.
This uses the older style printing, for compatibility with Java 1.1.8 in Macintosh MRJ
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static int(package private) static final String(package private) static final StringFields inherited from class jmri.jmrit.operations.trains.trainbuilder.TrainCommon
_dropCars, _pickupCars, BLANK_LINE, BUILD_REPORT_CHAR, carManager, ENGINE, engineManager, HORIZONTAL_LINE_CHAR, HYPHEN, IS_MANIFEST, IS_TWO_COLUMN_TRACK, LOCAL, locationManager, PAPER_MARGINS, PICKUP, SPACE, TEXT_COLOR_DONE, TEXT_COLOR_END, TEXT_COLOR_START, VERTICAL_LINE_CHAR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprintCarsAtLocation(HardcopyWriter writer, Train train, RouteLocation rl) voidprintCarsInTrain(Train train, boolean isPreview) Prints the block order for a train at the train's current location.voidprintCarsInTrainRoute(Train train, boolean isPreview) Prints the block order for a train for each station starting at the train's current location.voidprintCarsRoute(HardcopyWriter writer, Train train) Methods inherited from class jmri.jmrit.operations.trains.trainbuilder.TrainCommon
addCarsLocationUnknown, addLine, addLine, blockCarsByTrack, blockCarsByTrackNameTwoColumn, blockCarsTwoColumn, blockLocosTwoColumn, clearUtilityCarTypes, convertStringTime, convertStringToDate, countPickupUtilityCars, countSetoutUtilityCars, countUtilityCars, createTabIfNeeded, dropCar, dropCar, dropEngine, dropEngines, formatColorString, formatStringToCommaSeparated, getDate, getDate, getDropCarHeader, getDropEngineHeader, getISO8601Date, getLineLength, getLocalMoveHeader, getManifestHeaderLineLength, getPageSize, getPickupCarHeader, getPickupEngineHeader, getSwitchListTrainStatus, getTextColor, getTextColorName, getTextColorString, getTrainMessage, isNextCar, isNextCar, isThereWorkAtLocation, isThereWorkAtLocation, localMoveCar, newLine, newLine, padAndTruncate, padAndTruncateIfNeeded, padString, pickupCar, pickUpCar, pickUpCarTruncated, pickupEngine, pickupEngines, pickupUtilityCars, pickupUtilityCars, printCarHeader, printDropCarHeader, printDropEngineHeader, printEngineHeader, printHorizontalLine, printHorizontalLine, printHorizontalLine1, printHorizontalLine2, printHorizontalLine3, printLocalCarMoveHeader, printPickupCarHeader, printPickupEngineHeader, printTrackComments, printTrackNameHeader, setCarPickupAndSetoutTimes, setoutUtilityCars, setoutUtilityCars, setoutUtilityCars, splitString, splitStringLeftParenthesis, tabString, truncatedDropCar
-
Field Details
-
NEW_LINE
- See Also:
-
fieldSize
-
TAB
-
carsInTrain
-
-
Constructor Details
-
PrintShowCarsInTrain
public PrintShowCarsInTrain()
-
-
Method Details
-
printCarsInTrain
Prints the block order for a train at the train's current location.- Parameters:
train- the train.isPreview- if true preview, otherwise print
-
printCarsAtLocation
public void printCarsAtLocation(HardcopyWriter writer, Train train, RouteLocation rl) throws IOException - Throws:
IOException
-
printCarsInTrainRoute
Prints the block order for a train for each station starting at the train's current location.- Parameters:
train- the train.isPreview- if true preview, otherwise print
-
printCarsRoute
- Throws:
IOException
-