Uses of Class
org.opentrafficsim.swing.gui.OtsAnimationPanel
Package
Description
Swing components that are used in OpenTrafficSim.
Helper classes for animation.
-
Uses of OtsAnimationPanel in org.opentrafficsim.swing.gui
Modifier and TypeMethodDescriptionOtsSimulationApplication.getAnimationPanel()
Returns the animation panel.Modifier and TypeMethodDescriptionstatic void
AnimationToggles.hideAnimationClass
(OtsAnimationPanel panel, Class<? extends nl.tudelft.simulation.dsol.animation.Locatable> locatableClass) Set a class to be shown in the animation to false.static void
AnimationToggles.setIconAnimationTogglesFull
(OtsAnimationPanel panel) Set all animation on, and create the toggles on the left hand side.static void
AnimationToggles.setIconAnimationTogglesStandard
(OtsAnimationPanel panel) Set the most common animation on, and create the toggles on the left hand side.static void
AnimationToggles.setTextAnimationTogglesFull
(OtsAnimationPanel panel) Set all animation on, and create the toggles on the left hand side.static void
AnimationToggles.setTextAnimationTogglesStandard
(OtsAnimationPanel panel) Set the most common animation on, and create the toggles on the left hand side.static void
AnimationToggles.showAnimationClass
(OtsAnimationPanel panel, Class<? extends nl.tudelft.simulation.dsol.animation.Locatable> locatableClass) Set a class to be shown in the animation to true.static void
AnimationToggles.showAnimationFull
(OtsAnimationPanel panel) Set all animation on, and create the toggles on the left hand side.static void
AnimationToggles.showAnimationStandard
(OtsAnimationPanel panel) Set the most common animation on, and create the toggles on the left hand side.ModifierConstructorDescriptionCustomSimulation
(String title, OtsAnimationPanel panel, CustomSimulation.CustomModel model) Create a custom simulation.OtsControlPanel
(org.opentrafficsim.core.dsol.OtsSimulatorInterface simulator, org.opentrafficsim.core.dsol.OtsModelInterface model, OtsAnimationPanel otsAnimationPanel) Decorate a SimpleSimulator with a different set of control buttons.OtsSearchPanel
(OtsAnimationPanel otsAnimationPanel) Construct a new OtsSearchPanel.OtsSimulationApplication
(T model, OtsAnimationPanel panel) -
Uses of OtsAnimationPanel in org.opentrafficsim.swing.script
Modifier and TypeMethodDescriptionprotected void
AbstractSimulationScript.setAnimationToggles
(OtsAnimationPanel animation) Sets the animation toggles.protected void
AbstractSimulationScript.setupDemo
(OtsAnimationPanel animationPanel, RoadNetwork net) Method that is called when the animation has been created, to add components for a demo.