Uses of Class
jmri.jmrit.operations.rollingstock.engines.Engine
-
Packages that use Engine Package Description jmri.jmrit.operations.rollingstock.engines jmri.jmrit.operations.rollingstock.engines.tools jmri.jmrit.operations.trains jmri.server.json.operations JMRI JSON support for Operations.jmri.web.servlet.operations -
-
Uses of Engine in jmri.jmrit.operations.rollingstock.engines
Fields in jmri.jmrit.operations.rollingstock.engines declared as Engine Modifier and Type Field Description Engine
EngineSetFrame. _engine
Fields in jmri.jmrit.operations.rollingstock.engines with type parameters of type Engine Modifier and Type Field Description (package private) java.util.List<Engine>
EnginesTableModel. engineList
Methods in jmri.jmrit.operations.rollingstock.engines that return Engine Modifier and Type Method Description Engine
EnginesTableModel. getEngineAtIndex(int index)
Engine
EngineManager. newRS(java.lang.String engineRoad, java.lang.String engineNumber)
Finds an existing engine or creates a new engine if needed requires engine's road and numberMethods in jmri.jmrit.operations.rollingstock.engines that return types with arguments of type Engine 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. getByConsistList()
Sort by engine consistjava.util.List<Engine>
EngineManager. getByHpList()
java.util.List<Engine>
EngineManager. getByModelList()
Sort by engine modeljava.util.List<Engine>
EngineManager. getByTrainBlockingList(Train train)
Returns a list of locos sorted by blocking number for a train.protected java.util.Comparator<Engine>
EngineManager. getComparator(int attribute)
java.util.List<Engine>
EnginesTableModel. getEngineList(int sort)
java.util.List<Engine>
Consist. getEngines()
java.util.List<Engine>
EnginesTableModel. getSelectedEngineList()
java.util.List<Engine>
EnginesTableFrame. getSortByList()
Methods in jmri.jmrit.operations.rollingstock.engines with parameters of type Engine Modifier and Type Method Description protected boolean
EngineSetFrame. change(Engine engine)
void
EngineManager. deregister(Engine engine)
void
EngineEditFrame. load(Engine engine)
void
EngineSetFrame. load(Engine engine)
-
Uses of Engine in jmri.jmrit.operations.rollingstock.engines.tools
Fields in jmri.jmrit.operations.rollingstock.engines.tools with type parameters of type Engine Modifier and Type Field Description (package private) java.util.List<Engine>
NceConsistEngines. engineList
-
Uses of Engine in jmri.jmrit.operations.trains
Fields in jmri.jmrit.operations.trains declared as Engine Modifier and Type Field Description (package private) Engine
TrainBuilderBase. _lastEngine
protected Engine
Train. _leadEngine
(package private) Engine
TrainBuilderBase. _secondLeadEngine
(package private) Engine
TrainBuilderBase. _thirdLeadEngine
Fields in jmri.jmrit.operations.trains with type parameters of type Engine Modifier and Type Field Description (package private) java.util.List<Engine>
TrainBuilderBase. _engineList
Methods in jmri.jmrit.operations.trains that return Engine Modifier and Type Method Description Engine
Train. getLeadEngine()
Gets the lead engine, will create it if the program has been restartedEngine
Train. getLeadEngine(RouteLocation routeLocation)
Returns the lead engine in a train's route.Methods in jmri.jmrit.operations.trains with parameters of type Engine Modifier and Type Method Description java.lang.String
TrainCommon. dropEngine(Engine engine)
Returns the drop string for a loco.protected void
TrainBuilderCars. getCaboose(java.lang.String roadCaboose, Engine leadEngine, RouteLocation rl, RouteLocation rld, boolean requiresCaboose)
Find a caboose if needed at the correct location and add it to the train.protected void
TrainBuilderBase. getNewEngine(int hpNeeded, Engine leadEngine, java.lang.String model, java.lang.String road)
Removes engine from train and attempts to replace it with engine or consist that meets the HP requirements of the train.java.lang.String
TrainCommon. pickupEngine(Engine engine)
Returns the pick up string for a loco.protected void
TrainCsvCommon. printEngine(CSVPrinter fileOut, Engine engine, java.lang.String code, java.lang.String message)
protected void
TrainBuilderBase. removeEngineFromTrain(Engine engine)
protected boolean
TrainBuilderBase. setEngineDestination(Engine engine, RouteLocation rl, RouteLocation rld)
Sets the destination track for an engine and assigns it to the train.void
Train. setLeadEngine(Engine engine)
Method parameters in jmri.jmrit.operations.trains with type arguments of type Engine Modifier and Type Method Description protected void
TrainCommon. blockLocosTwoColumn(java.io.PrintWriter file, java.util.List<Engine> engineList, RouteLocation rl, boolean isManifest)
Used to generate "Two Column" format for engines.protected com.fasterxml.jackson.databind.node.ArrayNode
JsonManifest. dropEngines(java.util.List<Engine> engines, RouteLocation routeLocation)
protected void
TrainCommon. dropEngines(java.io.PrintWriter file, java.util.List<Engine> engineList, RouteLocation rl, boolean isManifest)
Adds a list of locomotive drops for the route location to the output file.protected com.fasterxml.jackson.databind.node.ArrayNode
JsonManifest. pickupEngines(java.util.List<Engine> engines, RouteLocation routeLocation)
protected void
TrainCommon. pickupEngines(java.io.PrintWriter file, java.util.List<Engine> engineList, RouteLocation rl, boolean isManifest)
Adds a list of locomotive pick ups for the route location to the output file. -
Uses of Engine in jmri.server.json.operations
Methods in jmri.server.json.operations that return Engine Modifier and Type Method Description protected Engine
JsonOperationsHttpService. getEngineByName(java.lang.String name, java.util.Locale locale, int id)
Methods in jmri.server.json.operations with parameters of type Engine Modifier and Type Method Description com.fasterxml.jackson.databind.node.ObjectNode
JsonUtil. getEngine(Engine engine, com.fasterxml.jackson.databind.node.ObjectNode data, java.util.Locale locale)
Get the JSON representation of an Engine.com.fasterxml.jackson.databind.node.ObjectNode
JsonUtil. getEngine(Engine engine, java.util.Locale locale)
Get the JSON representation of an Engine.com.fasterxml.jackson.databind.node.ObjectNode
JsonOperationsHttpService. postEngine(Engine engine, com.fasterxml.jackson.databind.JsonNode data, java.util.Locale locale, int id)
Set the properties in the data parameter for the given engine. -
Uses of Engine in jmri.web.servlet.operations
Methods in jmri.web.servlet.operations with parameters of type Engine Modifier and Type Method Description java.lang.String
HtmlTrainCommon. dropEngine(Engine engine)
protected java.lang.String
HtmlTrainCommon. getEngineAttribute(Engine engine, java.lang.String attribute, boolean isPickup)
java.lang.String
HtmlTrainCommon. pickupEngine(Engine engine)
Method parameters in jmri.web.servlet.operations with type arguments of type Engine Modifier and Type Method Description protected java.lang.String
HtmlTrainCommon. dropEngines(java.util.List<Engine> engines, RouteLocation location)
protected java.lang.String
HtmlTrainCommon. pickupEngines(java.util.List<Engine> engines, RouteLocation location)
-