package nl.tudelft.simulation.dsol.swing.gui.appearance; import javax.swing.Icon; import javax.swing.JButton; /** * Button with appearance control. *
* Copyright (c) 2020-2022 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See * for project information DSOL Manual. The DSOL * project is distributed under a three-clause BSD-style license, which can be found at * DSOL License. *
* @author Alexander Verbraeck */ public class AppearanceControlButton extends JButton implements AppearanceControl { /** */ private static final long serialVersionUID = 20180207L; /** * @param loadIcon Icon; icon */ public AppearanceControlButton(final Icon loadIcon) { super(loadIcon); } /** {@inheritDoc} */ @Override public boolean isFont() { return true; } /** {@inheritDoc} */ @Override public String toString() { return "AppearanceControlButton []"; } }