Normand Briere
2019-04-22 a9e12f6c508810604c8c91ee15451776b08ce1a1
timeflow/vis/timeline/TimelineVisuals.java
....@@ -15,9 +15,9 @@
1515 */
1616 public class TimelineVisuals
1717 {
18
-
1918 private Map<String, TimelineTrack> trackTable = new HashMap<String, TimelineTrack>();
2019 ArrayList<TimelineTrack> trackList = new ArrayList<TimelineTrack>();
20
+
2121 private TimeScale timeScale = new TimeScale();
2222 private Rectangle bounds = new Rectangle();
2323 private boolean frameChanged;
....@@ -28,12 +28,12 @@
2828
2929 public enum Layout
3030 {
31
-
3231 TIGHT, LOOSE, GRAPH
3332 };
33
+
3434 private Layout layoutStyle = Layout.TIGHT;
3535 private VisualEncoder encoder;
36
- private TFModel model;
36
+ private TimeflowModel model;
3737 private int fullHeight;
3838
3939 public int getFullHeight()
....@@ -41,7 +41,7 @@
4141 return fullHeight;
4242 }
4343
44
- public TimelineVisuals(TFModel model)
44
+ public TimelineVisuals(TimeflowModel model)
4545 {
4646 this.model = model;
4747 encoder = new VisualEncoder(model);
....@@ -224,7 +224,7 @@
224224 layout();
225225 }
226226
227
- public TFModel getModel()
227
+ public TimeflowModel getModel()
228228 {
229229 return model;
230230 }