Package org.opentrafficsim.swing.graphs
Class OtsPlotScheduler
java.lang.Object
org.opentrafficsim.swing.graphs.OtsPlotScheduler
- All Implemented Interfaces:
PlotScheduler
This scheduler allows plots to work live with an OTS simulation.
Copyright (c) 2023-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Wouter Schakel
-
Field Summary
Fields inherited from interface org.opentrafficsim.draw.graphs.PlotScheduler
OFFLINE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancelEvent(AbstractPlot abstractPlot) getTime()voidscheduleUpdate(Duration time, AbstractPlot abstractPlot)
-
Constructor Details
-
OtsPlotScheduler
Constructor.- Parameters:
simulator- simulator.
-
-
Method Details
-
getTime
- Specified by:
getTimein interfacePlotScheduler
-
cancelEvent
- Specified by:
cancelEventin interfacePlotScheduler
-
scheduleUpdate
- Specified by:
scheduleUpdatein interfacePlotScheduler
-