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 intcloseArcprotected ColorcloseBackgroundprotected floatcloseCrossFilledSizeprotected floatcloseCrossLineWidthprotected floatcloseCrossPlainSizeprotected ColorcloseForegroundprotected ColorcloseHoverBackgroundprotected ColorcloseHoverForegroundprotected ColorclosePressedBackgroundprotected ColorclosePressedForegroundprotected DimensioncloseSize-
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 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
-
-
-
-
Field Detail
-
closeSize
protected Dimension closeSize
-
closeArc
protected int closeArc
-
closeCrossPlainSize
protected float closeCrossPlainSize
-
closeCrossFilledSize
protected float closeCrossFilledSize
-
closeCrossLineWidth
protected float closeCrossLineWidth
-
closeBackground
protected Color closeBackground
-
closeForeground
protected Color closeForeground
-
closeHoverBackground
protected Color closeHoverBackground
-
closeHoverForeground
protected Color closeHoverForeground
-
closePressedBackground
protected Color closePressedBackground
-
closePressedForeground
protected Color closePressedForeground
-
-
Method Detail
-
paintIcon
protected void paintIcon(Component c, Graphics2D g)
- Specified by:
paintIconin classFlatAbstractIcon
-
-