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 java.lang.Object
ToggleButtonInfo.java.
Copyright (c) 2003-2018 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.
Copyright (c) 2003-2018 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 class
ToggleButtonInfo.Gis
ToggleButtonInfo.Gis.static class
ToggleButtonInfo.LocatableClass
ToggleButtonInfo.LocatableClass.static class
ToggleButtonInfo.Text
ToggleButtonInfo.Text. -
Constructor Summary
Constructors Modifier Constructor Description protected
ToggleButtonInfo(java.lang.String name, boolean visible)
-
Method Summary
Modifier and Type Method Description java.lang.String
getName()
boolean
isVisible()
void
setVisible(boolean visible)
-
Constructor Details
-
ToggleButtonInfo
protected ToggleButtonInfo(java.lang.String name, boolean visible)- 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
public final java.lang.String getName()- Returns:
- name
-