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 int
closeArc
protected Color
closeBackground
protected float
closeCrossFilledSize
protected float
closeCrossLineWidth
protected float
closeCrossPlainSize
protected Color
closeForeground
protected Color
closeHoverBackground
protected Color
closeHoverForeground
protected Color
closePressedBackground
protected Color
closePressedForeground
protected Dimension
closeSize
-
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 Object
applyStyleProperty(String key, Object value)
Map<String,Class<?>>
getStyleableInfos()
Object
getStyleableValue(String key)
protected void
paintIcon(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:
paintIcon
in classFlatAbstractIcon
-
-