Uses of Class
org.opentrafficsim.swing.gui.OtsAnimationPanel
Packages that use OtsAnimationPanel
Package
Description
Swing components that are used in OpenTrafficSim.
Helper classes for animation.
-
Uses of OtsAnimationPanel in org.opentrafficsim.swing.gui
Methods in org.opentrafficsim.swing.gui that return OtsAnimationPanelModifier and TypeMethodDescriptionOtsSimulationApplication.getAnimationPanel()
Returns the animation panel.Methods in org.opentrafficsim.swing.gui with parameters of type OtsAnimationPanelModifier 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.Constructors in org.opentrafficsim.swing.gui with parameters of type OtsAnimationPanelModifierConstructorDescriptionCustomSimulation
(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, Map<org.opentrafficsim.core.gtu.GtuType, org.opentrafficsim.draw.gtu.DefaultCarAnimation.GtuData.GtuMarker> markers) -
Uses of OtsAnimationPanel in org.opentrafficsim.swing.script
Methods in org.opentrafficsim.swing.script with parameters of type OtsAnimationPanelModifier and TypeMethodDescriptionprotected void
AbstractSimulationScript.animateNetwork
(org.opentrafficsim.core.network.Network net, OtsAnimationPanel animationPanel) Creates animations for nodes, links and lanes.protected void
AbstractSimulationScript.setAnimationToggles
(OtsAnimationPanel animation) Sets the animation toggles.protected void
AbstractSimulationScript.setupDemo
(OtsAnimationPanel animationPanel, org.opentrafficsim.road.network.RoadNetwork net) Method that is called when the animation has been created, to add components for a demo.