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-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
  • Constructor Details

    • ToggleButtonInfo

      protected ToggleButtonInfo​(String name, boolean visible)
      Parameters:
      name - String; the name of the button
      visible - 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 String getName()
      Returns:
      name