Class FlatSearchWithHistoryIcon
java.lang.Object
com.formdev.flatlaf.icons.FlatAbstractIcon
com.formdev.flatlaf.icons.FlatSearchIcon
com.formdev.flatlaf.icons.FlatSearchWithHistoryIcon
- All Implemented Interfaces:
FlatStylingSupport.StyleableObject, Icon, UIResource
"search with history" icon for search fields.
- Since:
- 1.5
-
Field Summary
Fields inherited from class FlatSearchIcon
searchIconColor, searchIconHoverColor, searchIconPressedColorFields inherited from class FlatAbstractIcon
color, height, width -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidpaintIcon(Component c, Graphics2D g) Paints icon.Methods inherited from class FlatAbstractIcon
getIconHeight, getIconWidth, getScale, paintBackground, paintIcon, scale, setScaleMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FlatStylingSupport.StyleableObject
applyStyleProperty, getStyleableInfos, getStyleableValue
-
Constructor Details
-
FlatSearchWithHistoryIcon
public FlatSearchWithHistoryIcon() -
FlatSearchWithHistoryIcon
public FlatSearchWithHistoryIcon(boolean ignoreButtonState) - Since:
- 2
-
-
Method Details
-
paintIcon
Description copied from class:FlatAbstractIconPaints icon.The graphics context is translated and scaled. This means that icon x,y coordinates are
0,0and it is not necessary to scale coordinates within this method.The bounds to be used for icon painting are: 0, 0,
FlatAbstractIcon.width,FlatAbstractIcon.height.- Overrides:
paintIconin classFlatSearchIcon
-