public final class AnimationToggles 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(OTSAnimationPanel panel,
Class<? extends Locatable> locatableClass)
Set a class to be shown in the animation to false.
|
static void |
setIconAnimationTogglesFull(OTSAnimationPanel panel)
Set all animation on, and create the toggles on the left hand side.
|
static void |
setIconAnimationTogglesStandard(OTSAnimationPanel panel)
Set the most common animation on, and create the toggles on the left hand side.
|
static void |
setTextAnimationTogglesFull(OTSAnimationPanel panel)
Set all animation on, and create the toggles on the left hand side.
|
static void |
setTextAnimationTogglesStandard(OTSAnimationPanel panel)
Set the most common animation on, and create the toggles on the left hand side.
|
static void |
showAnimationClass(OTSAnimationPanel panel,
Class<? extends Locatable> locatableClass)
Set a class to be shown in the animation to true.
|
static void |
showAnimationFull(OTSAnimationPanel panel)
Set all animation on, and create the toggles on the left hand side.
|
static void |
showAnimationStandard(OTSAnimationPanel panel)
Set the most common animation on, and create the toggles on the left hand side.
|
public static void setTextAnimationTogglesFull(OTSAnimationPanel panel)
panel
- OTSAnimationPanel; the WrappableAnimation.public static void setTextAnimationTogglesStandard(OTSAnimationPanel panel)
panel
- OTSAnimationPanel; the WrappableAnimation.public static void setIconAnimationTogglesFull(OTSAnimationPanel panel)
panel
- OTSAnimationPanel; the WrappableAnimation.public static void setIconAnimationTogglesStandard(OTSAnimationPanel panel)
panel
- OTSAnimationPanel; the WrappableAnimation.public static final void showAnimationClass(OTSAnimationPanel panel, Class<? extends Locatable> locatableClass)
panel
- OTSAnimationPanel; the OTSAnimationPanel 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(OTSAnimationPanel panel, Class<? extends Locatable> locatableClass)
panel
- OTSAnimationPanel; the OTSAnimationPanel 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(OTSAnimationPanel panel)
panel
- OTSAnimationPanel; the WrappableAnimation.public static void showAnimationStandard(OTSAnimationPanel panel)
panel
- OTSAnimationPanel; the WrappableAnimation.Copyright © 2014–2019 Delft University of Technology. All rights reserved.