Class ToggleButtonInfo
- java.lang.Object
-
- nl.tudelft.simulation.dsol.web.animation.D2.ToggleButtonInfo
-
- Direct Known Subclasses:
ToggleButtonInfo.Gis,ToggleButtonInfo.LocatableClass,ToggleButtonInfo.Text
public class ToggleButtonInfo extends Object
ToggleButtonInfo.java.
Copyright (c) 2003-2022 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl. The source code and binary code of this software is proprietary information of Delft University of Technology.- Author:
- Alexander Verbraeck
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classToggleButtonInfo.GisToggleButtonInfo.Gis.static classToggleButtonInfo.LocatableClassToggleButtonInfo.LocatableClass.static classToggleButtonInfo.TextToggleButtonInfo.Text.
-
Constructor Summary
Constructors Modifier Constructor Description protectedToggleButtonInfo(String name, boolean visible)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()booleanisVisible()voidsetVisible(boolean visible)
-
-
-
Constructor Detail
-
ToggleButtonInfo
protected ToggleButtonInfo(String name, boolean visible)
- Parameters:
name- String; the name of the buttonvisible- boolean; whether the class is initially shown or not
-
-
Method Detail
-
isVisible
public final boolean isVisible()
- Returns:
- visible
-
setVisible
public final void setVisible(boolean visible)
- Parameters:
visible- set visible
-
getName
public final String getName()
- Returns:
- name
-
-