Package com.formdev.flatlaf.icons
Class FlatClearIcon
- java.lang.Object
-
- com.formdev.flatlaf.icons.FlatAbstractIcon
-
- com.formdev.flatlaf.icons.FlatClearIcon
-
- All Implemented Interfaces:
Icon,UIResource
public class FlatClearIcon extends FlatAbstractIcon
"clear" icon for search fields.- Since:
- 1.5
- UiDefault:
- SearchField.clearIconColor Color, SearchField.clearIconHoverColor Color, SearchField.clearIconPressedColor Color
-
-
Field Summary
Fields Modifier and Type Field Description protected ColorclearIconColorprotected ColorclearIconHoverColorprotected ColorclearIconPressedColor-
Fields inherited from class com.formdev.flatlaf.icons.FlatAbstractIcon
color, height, width
-
-
Constructor Summary
Constructors Constructor Description FlatClearIcon()FlatClearIcon(boolean ignoreButtonState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectapplyStyleProperty(String key, Object value)Map<String,Class<?>>getStyleableInfos()ObjectgetStyleableValue(String key)protected voidpaintIcon(Component c, Graphics2D g)-
Methods inherited from class com.formdev.flatlaf.icons.FlatAbstractIcon
getIconHeight, getIconWidth, paintIcon
-
-
-
-
Method Detail
-
paintIcon
protected void paintIcon(Component c, Graphics2D g)
- Specified by:
paintIconin classFlatAbstractIcon
-
-