TimeLinePanel extends AbstractModelVoid implements
    PanelRenderer, TickListener { public static Builder builder() { return new AutoValue_TimeLinePanel_Builder(); } TimeLinePanel(PDPModel pm); @Override void initializePanel(Composite parent); @Override int preferredSize(); @Override int getPreferredPosition(); @Override String getName(); @Override void tick(TimeLapse timeLapse); @Override void afterTick(TimeLapse timeLapse); @Override void render(); static Builder builder();  }
@Test public void guiTest() { final Scenario testScenario = ScenarioTestUtil.createRandomScenario(1730); final Simulator sim = Simulator .builder() .addModel( ScenarioController .builder(testScenario) .withEventHandler(AddParcelEvent.class, AddParcelEvent.defaultHandler()) .withEventHandler(TimeOutEvent.class, TimeOutEvent.ignoreHandler()) .withEventHandler(AddVehicleEvent.class, new TimedEventHandler<AddVehicleEvent>() { @Override public void handleTimedEvent(AddVehicleEvent event, SimulatorAPI simulator) { simulator .register(new RandomVehicle(event.getVehicleDTO())); } })) .addModel( View.builder() .with(PlaneRoadModelRenderer.builder()) .with(RoadUserRenderer.builder()) .with(PDPModelRenderer.builder()) .with(TimeLinePanel.builder()) .withSpeedUp(200) .withAutoClose() .withSimulatorEndTime(1 * 60 * 1000) .withAutoPlay()) .build(); sim.start(); }