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) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

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