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.closeBackground Color optional, TitlePane.closeForeground Color optional, TitlePane.closeInactiveBackground Color optional, TitlePane.closeInactiveForeground Color optional, TitlePane.closeHoverBackground Color optional, TitlePane.closeHoverForeground Color optional, TitlePane.closePressedBackground Color optional, TitlePane.closePressedForeground Color optional
-
-
Field Summary
-
Fields inherited from class com.formdev.flatlaf.icons.FlatWindowAbstractIcon
arc, background, foreground, hoverBackground, hoverForeground, inactiveBackground, inactiveForeground, insets, pressedBackground, pressedForeground, symbolHeight
-
Fields inherited from class com.formdev.flatlaf.icons.FlatAbstractIcon
color, height, width
-
-
Constructor Summary
Constructors Constructor Description FlatWindowCloseIcon()FlatWindowCloseIcon(String windowStyle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidpaintIconAt1x(Graphics2D g, int x, int y, int width, int height, double scaleFactor)-
Methods inherited from class com.formdev.flatlaf.icons.FlatWindowAbstractIcon
getForeground, paintBackground, paintIcon
-
Methods inherited from class com.formdev.flatlaf.icons.FlatAbstractIcon
getIconHeight, getIconWidth, paintIcon
-
-
-
-
Constructor Detail
-
FlatWindowCloseIcon
public FlatWindowCloseIcon()
-
FlatWindowCloseIcon
public FlatWindowCloseIcon(String windowStyle)
- Since:
- 3.2
-
-
Method Detail
-
paintIconAt1x
protected void paintIconAt1x(Graphics2D g, int x, int y, int width, int height, double scaleFactor)
- Specified by:
paintIconAt1xin classFlatWindowAbstractIcon
-
-