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
public class FlatHelpButtonIcon extends FlatAbstractIcon
Help button icon forJButton
.- UiDefault:
- Component.focusWidth int, Component.focusColor Color, HelpButton.innerFocusWidth int or float optional; defaults to Component.innerFocusWidth, HelpButton.borderWidth int optional; default is 1, HelpButton.borderColor Color, HelpButton.disabledBorderColor Color, HelpButton.focusedBorderColor Color, HelpButton.hoverBorderColor Color optional, HelpButton.background Color, HelpButton.disabledBackground Color, HelpButton.focusedBackground Color optional, HelpButton.hoverBackground Color optional, HelpButton.pressedBackground Color optional, HelpButton.questionMarkColor Color, HelpButton.disabledQuestionMarkColor Color
-
-
Field Summary
Fields Modifier and Type Field Description protected Color
background
protected Color
borderColor
protected int
borderWidth
protected Color
disabledBackground
protected Color
disabledBorderColor
protected Color
disabledQuestionMarkColor
protected Color
focusColor
protected Color
focusedBackground
protected Color
focusedBorderColor
protected int
focusWidth
protected Color
hoverBackground
protected Color
hoverBorderColor
protected float
innerFocusWidth
protected Color
pressedBackground
protected Color
questionMarkColor
-
Fields inherited from class com.formdev.flatlaf.icons.FlatAbstractIcon
color, height, width
-
-
Constructor Summary
Constructors Constructor Description FlatHelpButtonIcon()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
applyStyleProperty(String key, Object value)
int
getIconHeight()
int
getIconWidth()
Map<String,Class<?>>
getStyleableInfos()
Object
getStyleableValue(String key)
protected void
paintIcon(Component c, Graphics2D g2)
-
Methods inherited from class com.formdev.flatlaf.icons.FlatAbstractIcon
paintIcon
-
-
-
-
Field Detail
-
focusWidth
protected int focusWidth
-
focusColor
protected Color focusColor
-
innerFocusWidth
protected float innerFocusWidth
-
borderWidth
protected int borderWidth
-
borderColor
protected Color borderColor
-
disabledBorderColor
protected Color disabledBorderColor
-
focusedBorderColor
protected Color focusedBorderColor
-
hoverBorderColor
protected Color hoverBorderColor
-
background
protected Color background
-
disabledBackground
protected Color disabledBackground
-
focusedBackground
protected Color focusedBackground
-
hoverBackground
protected Color hoverBackground
-
pressedBackground
protected Color pressedBackground
-
questionMarkColor
protected Color questionMarkColor
-
disabledQuestionMarkColor
protected Color disabledQuestionMarkColor
-
-
Method Detail
-
paintIcon
protected void paintIcon(Component c, Graphics2D g2)
- 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
-
-