Package jmri.jmrit.timetable
Class Segment
java.lang.Object
jmri.jmrit.timetable.Segment
Define the content of a Segment record.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCopy(int layoutId) Make a copy of the segment.intintvoidsetSegmentName(String newName) toString()
-
Field Details
-
_dm
-
-
Constructor Details
-
Segment
Create a new segment with default values.- Parameters:
layoutId- The parent layout id.- Throws:
IllegalArgumentException- SEGMENT_ADD_FAIL
-
Segment
-
-
Method Details