Class 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.
    Author:
    Alexander Verbraeck
    • Constructor Detail

      • LocatableClass

        public LocatableClass​(String name,
                              Class<? extends 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 Detail

      • getLocatableClass

        public final Class<? extends Locatable> getLocatableClass()
        Returns:
        locatableClass
      • getToolTipText

        public final String getToolTipText()
        Returns:
        toolTipText