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 Colorbackgroundprotected ColorborderColorprotected intborderWidthprotected ColordisabledBackgroundprotected ColordisabledBorderColorprotected ColordisabledQuestionMarkColorprotected ColorfocusColorprotected ColorfocusedBackgroundprotected ColorfocusedBorderColorprotected intfocusWidthprotected ColorhoverBackgroundprotected ColorhoverBorderColorprotected floatinnerFocusWidthprotected ColorpressedBackgroundprotected ColorquestionMarkColor-
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 ObjectapplyStyleProperty(String key, Object value)intgetIconHeight()intgetIconWidth()Map<String,Class<?>>getStyleableInfos()ObjectgetStyleableValue(String key)protected voidpaintIcon(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:
paintIconin classFlatAbstractIcon
-
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidthin interfaceIcon- Overrides:
getIconWidthin classFlatAbstractIcon
-
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeightin interfaceIcon- Overrides:
getIconHeightin classFlatAbstractIcon
-
-