Package com.formdev.flatlaf.icons
Class FlatSearchIcon
- java.lang.Object
-
- com.formdev.flatlaf.icons.FlatAbstractIcon
-
- com.formdev.flatlaf.icons.FlatSearchIcon
-
- All Implemented Interfaces:
Icon,UIResource
- Direct Known Subclasses:
FlatSearchWithHistoryIcon
public class FlatSearchIcon extends FlatAbstractIcon
"search" icon for search fields.- Since:
- 1.5
- UiDefault:
- SearchField.searchIconColor Color, SearchField.searchIconHoverColor Color, SearchField.searchIconPressedColor Color
-
-
Field Summary
Fields Modifier and Type Field Description protected ColorsearchIconColorprotected ColorsearchIconHoverColorprotected ColorsearchIconPressedColor-
Fields inherited from class com.formdev.flatlaf.icons.FlatAbstractIcon
color, height, width
-
-
Constructor Summary
Constructors Constructor Description FlatSearchIcon()FlatSearchIcon(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
-
-