public TimelineView(Timeline timeline) {
        this.timeline = timeline;
        for (Timeline.TimelineItem item: timeline) {
            timelineView.add(0, new TimelineItemView(item));
        }
    }