Package com.formdev.flatlaf.icons
Class FlatHelpButtonIcon
java.lang.Object
com.formdev.flatlaf.icons.FlatAbstractIcon
com.formdev.flatlaf.icons.FlatHelpButtonIcon
- All Implemented Interfaces:
Icon
,UIResource
Help button icon for
JButton
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Color
protected Color
protected int
protected Color
protected Color
protected Color
protected Color
protected Color
protected Color
protected int
protected Color
protected Color
protected float
protected Color
protected Color
Fields inherited from class com.formdev.flatlaf.icons.FlatAbstractIcon
color, height, width
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyStyleProperty
(String key, Object value) int
int
getStyleableValue
(String key) private int
iconSize()
protected void
paintIcon
(Component c, Graphics2D g2) Methods inherited from class com.formdev.flatlaf.icons.FlatAbstractIcon
paintIcon
-
Field Details
-
focusWidth
protected int focusWidth -
focusColor
-
innerFocusWidth
protected float innerFocusWidth -
borderWidth
protected int borderWidth -
borderColor
-
disabledBorderColor
-
focusedBorderColor
-
hoverBorderColor
-
background
-
disabledBackground
-
focusedBackground
-
hoverBackground
-
pressedBackground
-
questionMarkColor
-
disabledQuestionMarkColor
-
-
Constructor Details
-
FlatHelpButtonIcon
public FlatHelpButtonIcon()
-
-
Method Details
-
applyStyleProperty
- Since:
- 2
-
getStyleableInfos
- Since:
- 2
-
getStyleableValue
- Since:
- 2.5
-
paintIcon
- Specified by:
paintIcon
in classFlatAbstractIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidth
in interfaceIcon
- Overrides:
getIconWidth
in classFlatAbstractIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeight
in interfaceIcon
- Overrides:
getIconHeight
in classFlatAbstractIcon
-
iconSize
private int iconSize()
-