Package com.formdev.flatlaf.icons
Class FlatWindowCloseIcon
- java.lang.Object
-
- com.formdev.flatlaf.icons.FlatAbstractIcon
-
- com.formdev.flatlaf.icons.FlatWindowAbstractIcon
-
- com.formdev.flatlaf.icons.FlatWindowCloseIcon
-
- All Implemented Interfaces:
Icon,UIResource
public class FlatWindowCloseIcon extends FlatWindowAbstractIcon
"close" icon for windows (frames and dialogs).- UiDefault:
- TitlePane.closeHoverBackground Color, TitlePane.closePressedBackground Color, TitlePane.closeHoverForeground Color, TitlePane.closePressedForeground Color
-
-
Field Summary
-
Fields inherited from class com.formdev.flatlaf.icons.FlatAbstractIcon
color, height, width
-
-
Constructor Summary
Constructors Constructor Description FlatWindowCloseIcon()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ColorgetForeground(Component c)protected voidpaintIconAt1x(Graphics2D g, int x, int y, int width, int height, double scaleFactor)-
Methods inherited from class com.formdev.flatlaf.icons.FlatWindowAbstractIcon
paintBackground, paintIcon
-
Methods inherited from class com.formdev.flatlaf.icons.FlatAbstractIcon
getIconHeight, getIconWidth, paintIcon
-
-
-
-
Method Detail
-
paintIconAt1x
protected void paintIconAt1x(Graphics2D g, int x, int y, int width, int height, double scaleFactor)
- Specified by:
paintIconAt1xin classFlatWindowAbstractIcon
-
getForeground
protected Color getForeground(Component c)
- Overrides:
getForegroundin classFlatWindowAbstractIcon
-
-