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 voidAnimationToggles.hideAnimationClass(OtsAnimationPanel panel, Class<? extends Locatable> locatableClass) Set a class to be shown in the animation to false.static voidAnimationToggles.setIconAnimationTogglesFull(OtsAnimationPanel panel) Set all animation on, and create the toggles on the left hand side.static voidAnimationToggles.setIconAnimationTogglesStandard(OtsAnimationPanel panel) Set the most common animation on, and create the toggles on the left hand side.static voidAnimationToggles.setTextAnimationTogglesFull(OtsAnimationPanel panel) Set all animation on, and create the toggles on the left hand side.static voidAnimationToggles.setTextAnimationTogglesStandard(OtsAnimationPanel panel) Set the most common animation on, and create the toggles on the left hand side.static voidAnimationToggles.showAnimationClass(OtsAnimationPanel panel, Class<? extends Locatable> locatableClass) Set a class to be shown in the animation to true.static voidAnimationToggles.showAnimationFull(OtsAnimationPanel panel) Set all animation on, and create the toggles on the left hand side.static voidAnimationToggles.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 OtsAnimationPanelModifierConstructorDescriptionOtsControlPanel(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
Methods in org.opentrafficsim.swing.script with parameters of type OtsAnimationPanelModifier and TypeMethodDescriptionprotected voidAbstractSimulationScript.setAnimationToggles(OtsAnimationPanel animation) Sets the animation toggles.protected voidAbstractSimulationScript.setupDemo(OtsAnimationPanel animationPanel, RoadNetwork net) Method that is called when the animation has been created, to add components for a demo.