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
public static class ToggleButtonInfo.LocatableClass extends ToggleButtonInfo
ToggleButtonInfo.LocatableClass.
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/interfaces inherited from class nl.tudelft.simulation.dsol.web.animation.D2.ToggleButtonInfo
ToggleButtonInfo.Gis, ToggleButtonInfo.LocatableClass, ToggleButtonInfo.Text
-
Constructor Summary
Constructors Constructor Description LocatableClass(java.lang.String name, java.lang.Class<? extends Locatable> locatableClass, java.lang.String toolTipText, boolean visible)
-
Method Summary
Modifier and Type Method Description java.lang.Class<? extends Locatable>
getLocatableClass()
java.lang.String
getToolTipText()
Methods inherited from class nl.tudelft.simulation.dsol.web.animation.D2.ToggleButtonInfo
getName, isVisible, setVisible
-
Constructor Details
-
LocatableClass
public LocatableClass(java.lang.String name, java.lang.Class<? extends Locatable> locatableClass, java.lang.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
public final java.lang.String getToolTipText()- Returns:
- toolTipText
-