Package com.formdev.flatlaf.icons
Class FlatTabbedPaneCloseIcon
- java.lang.Object
-
- com.formdev.flatlaf.icons.FlatAbstractIcon
-
- com.formdev.flatlaf.icons.FlatTabbedPaneCloseIcon
-
- All Implemented Interfaces:
javax.swing.Icon,javax.swing.plaf.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 java.awt.Colorbackgroundprotected floatcloseCrossLineWidthprotected floatcrossFilledSizeprotected floatcrossPlainSizeprotected java.awt.Colorforegroundprotected java.awt.ColorhoverBackgroundprotected java.awt.ColorhoverForegroundprotected java.awt.ColorpressedBackgroundprotected java.awt.ColorpressedForegroundprotected java.awt.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(java.awt.Component c, java.awt.Graphics2D g)-
Methods inherited from class com.formdev.flatlaf.icons.FlatAbstractIcon
getIconHeight, getIconWidth, paintIcon
-
-
-
-
Field Detail
-
size
protected final java.awt.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 java.awt.Color background
-
foreground
protected final java.awt.Color foreground
-
hoverBackground
protected final java.awt.Color hoverBackground
-
hoverForeground
protected final java.awt.Color hoverForeground
-
pressedBackground
protected final java.awt.Color pressedBackground
-
pressedForeground
protected final java.awt.Color pressedForeground
-
-
Method Detail
-
paintIcon
protected void paintIcon(java.awt.Component c, java.awt.Graphics2D g)- Specified by:
paintIconin classFlatAbstractIcon
-
-