Package megamek.client.ui.baseComponents
Class CogwheelIcon
java.lang.Object
com.formdev.flatlaf.icons.FlatAbstractIcon
megamek.client.ui.baseComponents.CogwheelIcon
- All Implemented Interfaces:
Icon,UIResource
@Deprecated(since="0.51.0",
forRemoval=true)
public class CogwheelIcon
extends com.formdev.flatlaf.icons.FlatAbstractIcon
Deprecated, for removal: This API element is subject to removal in a future version.
This is a cogwheel icon that usually indicates some sort of config menu.
-
Field Summary
Fields inherited from class com.formdev.flatlaf.icons.FlatAbstractIcon
color, height, width -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.CogwheelIcon(int size) Deprecated, for removal: This API element is subject to removal in a future version.Creates a cogwheel icon of the given size and with a standard FlatLaf color.CogwheelIcon(int size, int radius, int teeth, int toothDepth, int holeRadius) Deprecated, for removal: This API element is subject to removal in a future version.Creates a configurable cogwheel icon at given size and with the given values. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidpaintIcon(Component c, Graphics2D g) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class com.formdev.flatlaf.icons.FlatAbstractIcon
getIconHeight, getIconWidth, getScale, paintBackground, paintIcon, scale, setScale
-
Constructor Details
-
CogwheelIcon
Deprecated, for removal: This API element is subject to removal in a future version.Creates a cogwheel icon at the standard size (16) suitable to place it in line with, e.g. a JTextfield and with a standard FlatLaf color. -
CogwheelIcon
public CogwheelIcon(int size) Deprecated, for removal: This API element is subject to removal in a future version.Creates a cogwheel icon of the given size and with a standard FlatLaf color. -
CogwheelIcon
public CogwheelIcon(int size, int radius, int teeth, int toothDepth, int holeRadius) Deprecated, for removal: This API element is subject to removal in a future version.Creates a configurable cogwheel icon at given size and with the given values.
-
-
Method Details
-
paintIcon
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
paintIconin classcom.formdev.flatlaf.icons.FlatAbstractIcon
-