Uses of Class
org.opentrafficsim.swing.gui.OTSAnimationPanel
| Package | Description |
|---|---|
| org.opentrafficsim.swing.gui |
Swing components that are used in OpenTrafficSim.
|
| org.opentrafficsim.swing.script |
Helper classes for animation.
|
-
Uses of OTSAnimationPanel in org.opentrafficsim.swing.gui
Methods in org.opentrafficsim.swing.gui that return OTSAnimationPanel Modifier and Type Method Description OTSAnimationPanelOTSSimulationApplication. getAnimationPanel()Returns the animation panel.Methods in org.opentrafficsim.swing.gui with parameters of type OTSAnimationPanel Modifier and Type Method Description static voidAnimationToggles. hideAnimationClass(OTSAnimationPanel panel, java.lang.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, java.lang.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 OTSAnimationPanel Constructor Description DisposeOnCloseThread(OTSAnimationPanel panel)OTSSimulationApplication(T model, OTSAnimationPanel panel) -
Uses of OTSAnimationPanel in org.opentrafficsim.swing.script
Methods in org.opentrafficsim.swing.script with parameters of type OTSAnimationPanel Modifier and Type Method Description protected voidAbstractSimulationScript. setAnimationToggles(OTSAnimationPanel animation)Sets the animation toggles.protected voidAbstractSimulationScript. setupDemo(OTSAnimationPanel animationPanel, OTSRoadNetwork net)Method that is called when the animation has been created, to add components for a demo.