View Javadoc
1   package org.opentrafficsim.swing.gui;
2   
3   import nl.tudelft.simulation.dsol.swing.gui.TabbedContentPane;
4   
5   /**
6    * A {@link TabbedContentPane} which ignores appearance (it has too much colors looking ugly / becoming unreadable).
7    * <p>
8    * Copyright (c) 2013-2026 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
9    * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
10   * </p>
11   * @author Alexander Verbraeck
12   * @author Peter Knoppers
13   * @author Wouter Schakel
14   */
15  public class AppearanceControlTabbedContentPane extends TabbedContentPane implements AppearanceControl
16  {
17  
18      /** Serialization version UID. */
19      private static final long serialVersionUID = 20180206L;
20  
21      /**
22       * Constructor.
23       * @param tabPlacement tabPlacement
24       */
25      public AppearanceControlTabbedContentPane(final int tabPlacement)
26      {
27          super(tabPlacement);
28      }
29  
30      @Override
31      public boolean isForeground()
32      {
33          return true;
34      }
35  
36      @Override
37      public boolean isFont()
38      {
39          return true;
40      }
41  
42      @Override
43      public String toString()
44      {
45          return "AppearanceControlTabbedContentPane []";
46      }
47  
48  }