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 inticonSizeprotected 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 intgetIconHeight()intgetIconWidth()protected voidpaintIcon(Component c, Graphics2D g2)-
Methods inherited from class com.formdev.flatlaf.icons.FlatAbstractIcon
paintIcon
-
-
-
-
Field Detail
-
focusWidth
protected final int focusWidth
-
focusColor
protected final Color focusColor
-
innerFocusWidth
protected final float innerFocusWidth
-
borderWidth
protected final int borderWidth
-
borderColor
protected final Color borderColor
-
disabledBorderColor
protected final Color disabledBorderColor
-
focusedBorderColor
protected final Color focusedBorderColor
-
hoverBorderColor
protected final Color hoverBorderColor
-
background
protected final Color background
-
disabledBackground
protected final Color disabledBackground
-
focusedBackground
protected final Color focusedBackground
-
hoverBackground
protected final Color hoverBackground
-
pressedBackground
protected final Color pressedBackground
-
questionMarkColor
protected final Color questionMarkColor
-
disabledQuestionMarkColor
protected final Color disabledQuestionMarkColor
-
iconSize
protected final int iconSize
-
-
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
-
-