Class TimeTableGraphCommon

java.lang.Object
jmri.jmrit.timetable.swing.TimeTableGraphCommon

public class TimeTableGraphCommon extends Object
The left column has the layout information along with the station names next to the diagram box. The column width is dynamic based on the width of the items. Across the top, lined up with the diagram box, are the throttle lines. The main section is the diagram box. Across the bottom, lined up with the diagram box, is the hours section.
       +--------- canvas -------------+
       | info    | throttle lines     |
       |         |+------------------+|
       | station ||                  ||
       | station || diagram box      ||
       | station ||                  ||
       |         |+------------------+|
       |         | hours              |
       +------------------------------+
 
A normal train line will be "a-b-c-d-e" for a through train, or "a-b-c-b-a" for a turn.

A multi-segment train will be "a1-b1-c1-x2-y2-z2" where c is the junction. The reverse will be "z2-y2-z2-c2-b1-a1". Notice: While c is in both segments, for train stop purposes, the arrival "c" is used and the departure "c" is skipped.