Class ToggleButtonInfo.LocatableClass
java.lang.Object
nl.tudelft.simulation.dsol.web.animation.d2.ToggleButtonInfo
nl.tudelft.simulation.dsol.web.animation.d2.ToggleButtonInfo.LocatableClass
- Enclosing class:
- ToggleButtonInfo
ToggleButtonInfo.LocatableClass.
Copyright (c) 2003-2024 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-2024 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/interfaces inherited from class nl.tudelft.simulation.dsol.web.animation.d2.ToggleButtonInfo
ToggleButtonInfo.Gis, ToggleButtonInfo.LocatableClass, ToggleButtonInfo.Text
-
Constructor Summary
ConstructorDescriptionLocatableClass
(String name, Class<? extends nl.tudelft.simulation.dsol.animation.Locatable> locatableClass, String toolTipText, boolean visible) -
Method Summary
Methods inherited from class nl.tudelft.simulation.dsol.web.animation.d2.ToggleButtonInfo
getName, isVisible, setVisible
-
Constructor Details
-
LocatableClass
public LocatableClass(String name, Class<? extends nl.tudelft.simulation.dsol.animation.Locatable> locatableClass, String toolTipText, boolean visible) - Parameters:
name
- String; the name of the buttonlocatableClass
- Class<? extends Locatable>; the class for which the button holds (e.g., GTU.class)toolTipText
- String; the tool tip text to show when hovering over the buttonvisible
- boolean; whether the class is initially shown or not
-
-
Method Details
-
getLocatableClass
- Returns:
- locatableClass
-
getToolTipText
- Returns:
- toolTipText
-