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 Colorprotected Colorprotected intprotected Colorprotected Colorprotected Colorprotected Colorprotected Colorprotected Colorprotected intprotected Colorprotected Colorprotected floatprotected Colorprotected ColorFields inherited from class FlatAbstractIcon
color, height, width -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyStyleProperty(String key, Object value) intintgetStyleableValue(String key) private inticonSize()protected voidpaintIcon(Component c, Graphics2D g2) Methods inherited from class FlatAbstractIcon
paintBackground, 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
-
getStyleableInfos
-
getStyleableValue
-
paintIcon
- Specified by:
paintIconin classFlatAbstractIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidthin interfaceIcon- Overrides:
getIconWidthin classFlatAbstractIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeightin interfaceIcon- Overrides:
getIconHeightin classFlatAbstractIcon
-
iconSize
private int iconSize()
-