public final class WebAnimationToggles extends Object
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Modifier and Type | Method and Description |
|---|---|
static void |
hideAnimationClass(HTMLAnimationPanel panel,
Class<? extends nl.tudelft.simulation.dsol.animation.Locatable> locatableClass)
Set a class to be shown in the animation to false.
|
static void |
setTextAnimationTogglesFull(HTMLAnimationPanel panel)
Set all commonly used animation on, and create the toggles on the left hand side.
|
static void |
setTextAnimationTogglesStandard(HTMLAnimationPanel panel)
Set the most common animation on, and create the toggles on the left hand side.
|
static void |
showAnimationClass(HTMLAnimationPanel panel,
Class<? extends nl.tudelft.simulation.dsol.animation.Locatable> locatableClass)
Set a class to be shown in the animation to true.
|
static void |
showAnimationFull(HTMLAnimationPanel panel)
Set all commonly used animation on, and create the toggles on the left hand side.
|
static void |
showAnimationStandard(HTMLAnimationPanel panel)
Set the most common animation on, and create the toggles on the left hand side.
|
public static void setTextAnimationTogglesFull(HTMLAnimationPanel panel)
panel - HTMLAnimationPanel; the Animation panel to add the toggle to.public static void setTextAnimationTogglesStandard(HTMLAnimationPanel panel)
panel - HTMLAnimationPanel; the Animation panel to add the toggle to.public static final void showAnimationClass(HTMLAnimationPanel panel, Class<? extends nl.tudelft.simulation.dsol.animation.Locatable> locatableClass)
panel - OTSAnimationPanel; the HTMLAnimationPanel where the animation of a class has to be switched offlocatableClass - Class<? extends Locatable>; the class for which the animation has to be shown.public static final void hideAnimationClass(HTMLAnimationPanel panel, Class<? extends nl.tudelft.simulation.dsol.animation.Locatable> locatableClass)
panel - HTMLAnimationPanel; the HTMLAnimationPanel where the animation of a class has to be switched offlocatableClass - Class<? extends Locatable>; the class for which the animation has to be shown.public static void showAnimationFull(HTMLAnimationPanel panel)
panel - HTMLAnimationPanel; the HTMLAnimationPanel where classes are shown or not.public static void showAnimationStandard(HTMLAnimationPanel panel)
panel - OTSAnimationPanel; the WrappableAnimation.Copyright © 2014–2019 Delft University of Technology. All rights reserved.