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-2023 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
Nested ClassesModifier and TypeClassDescriptionstatic classToggleButtonInfo.Gis.static classToggleButtonInfo.LocatableClass.static classToggleButtonInfo.Text. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal StringgetName()final booleanfinal voidsetVisible(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
-