Package | Description |
---|---|
org.opentrafficsim.swing.gui |
Swing components that are used in OpenTrafficSim.
|
org.opentrafficsim.swing.script |
Helper classes for animation.
|
Modifier and Type | Method and Description |
---|---|
OTSAnimationPanel |
OTSSimulationApplication.getAnimationPanel()
Returns the animation panel.
|
Modifier and Type | Method and Description |
---|---|
static void |
AnimationToggles.hideAnimationClass(OTSAnimationPanel panel,
Class<? extends 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 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.
|
Constructor and Description |
---|
DisposeOnCloseThread(OTSAnimationPanel panel) |
OTSSimulationApplication(T model,
OTSAnimationPanel panel) |
Modifier and Type | Field and Description |
---|---|
protected OTSAnimationPanel |
AbstractSimulationScript.animationPanel
animation panel.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractSimulationScript.addAnimationToggles(OTSAnimationPanel animation)
Sets the animation toggles.
|
protected void |
AbstractSimulationScript.setupDemo(OTSAnimationPanel animationPanel,
OTSNetwork net)
Method that is called when the animation has been created, to add components for a demo.
|
Copyright © 2014–2019 Delft University of Technology. All rights reserved.