Class ToggleButtonInfo
java.lang.Object
nl.tudelft.simulation.dsol.web.animation.d2.ToggleButtonInfo
- Direct Known Subclasses:
ToggleButtonInfo.Gis
,ToggleButtonInfo.LocatableClass
,ToggleButtonInfo.Text
ToggleButtonInfo.java.
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
ToggleButtonInfo.Gis.static class
ToggleButtonInfo.LocatableClass.static class
ToggleButtonInfo.Text. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
getName()
final boolean
final void
setVisible
(boolean visible)
-
Constructor Details
-
ToggleButtonInfo
- Parameters:
name
- String; the name of the buttonvisible
- boolean; whether the class is initially shown or not
-
-
Method Details
-
isVisible
public final boolean isVisible()- Returns:
- visible
-
setVisible
public final void setVisible(boolean visible) - Parameters:
visible
- set visible
-
getName
- Returns:
- name
-