Package jmri.jmrit.timetable
Class TrainType
java.lang.Object
jmri.jmrit.timetable.TrainType
Define the content of a Train Type record.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCopy(int layoutId) Make a copy of the train type.intintvoidsetTypeColor(String newColor) voidsetTypeName(String newName) toString()
-
Field Details
-
_dm
-
-
Constructor Details
-
TrainType
Create a new train type with default values.- Parameters:
layoutId- The parent layout id.- Throws:
IllegalArgumentException- TYPE_ADD_FAIL
-
TrainType
-
-
Method Details