Package com.formdev.flatlaf.icons
Class FlatTabbedPaneCloseIcon
- java.lang.Object
-
- com.formdev.flatlaf.icons.FlatAbstractIcon
-
- com.formdev.flatlaf.icons.FlatTabbedPaneCloseIcon
-
- All Implemented Interfaces:
Icon,UIResource
public class FlatTabbedPaneCloseIcon extends FlatAbstractIcon
"close" icon for closable tabs inJTabbedPane.- UiDefault:
- TabbedPane.closeSize Dimension, TabbedPane.closeArc int, TabbedPane.closeCrossPlainSize float, TabbedPane.closeCrossFilledSize float, TabbedPane.closeCrossLineWidth float, TabbedPane.closeBackground Color, TabbedPane.closeForeground Color, TabbedPane.closeHoverBackground Color, TabbedPane.closeHoverForeground Color, TabbedPane.closePressedBackground Color, TabbedPane.closePressedForeground Color
-
-
Field Summary
Fields Modifier and Type Field Description protected intarcprotected Colorbackgroundprotected floatcloseCrossLineWidthprotected floatcrossFilledSizeprotected floatcrossPlainSizeprotected Colorforegroundprotected ColorhoverBackgroundprotected ColorhoverForegroundprotected ColorpressedBackgroundprotected ColorpressedForegroundprotected Dimensionsize-
Fields inherited from class com.formdev.flatlaf.icons.FlatAbstractIcon
color, height, width
-
-
Constructor Summary
Constructors Constructor Description FlatTabbedPaneCloseIcon()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidpaintIcon(Component c, Graphics2D g)-
Methods inherited from class com.formdev.flatlaf.icons.FlatAbstractIcon
getIconHeight, getIconWidth, paintIcon
-
-
-
-
Field Detail
-
size
protected final Dimension size
-
arc
protected final int arc
-
crossPlainSize
protected final float crossPlainSize
-
crossFilledSize
protected final float crossFilledSize
-
closeCrossLineWidth
protected final float closeCrossLineWidth
-
background
protected final Color background
-
foreground
protected final Color foreground
-
hoverBackground
protected final Color hoverBackground
-
hoverForeground
protected final Color hoverForeground
-
pressedBackground
protected final Color pressedBackground
-
pressedForeground
protected final Color pressedForeground
-
-
Method Detail
-
paintIcon
protected void paintIcon(Component c, Graphics2D g)
- Specified by:
paintIconin classFlatAbstractIcon
-
-