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-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
  • 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 button
      locatableClass - 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 button
      visible - boolean; whether the class is initially shown or not
  • Method Details

    • getLocatableClass

      public final Class<? extends nl.tudelft.simulation.dsol.animation.Locatable> getLocatableClass()
      Returns:
      locatableClass
    • getToolTipText

      public final String getToolTipText()
      Returns:
      toolTipText