Package com.formdev.flatlaf.icons
Class FlatCheckBoxMenuItemIcon
- java.lang.Object
-
- com.formdev.flatlaf.icons.FlatAbstractIcon
-
- com.formdev.flatlaf.icons.FlatCheckBoxMenuItemIcon
-
- All Implemented Interfaces:
Icon,UIResource
- Direct Known Subclasses:
FlatRadioButtonMenuItemIcon
public class FlatCheckBoxMenuItemIcon extends FlatAbstractIcon
Icon forJCheckBoxMenuItem.- UiDefault:
- MenuItemCheckBox.icon.checkmarkColor Color, MenuItemCheckBox.icon.disabledCheckmarkColor Color, MenuItem.selectionForeground Color, MenuItem.selectionType String
-
-
Field Summary
Fields Modifier and Type Field Description protected ColorcheckmarkColorprotected ColordisabledCheckmarkColorprotected ColorselectionForeground-
Fields inherited from class com.formdev.flatlaf.icons.FlatAbstractIcon
color, height, width
-
-
Constructor Summary
Constructors Constructor Description FlatCheckBoxMenuItemIcon()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ColorgetCheckmarkColor(Component c)protected booleanisUnderlineSelection()protected voidpaintCheckmark(Graphics2D g2)protected voidpaintIcon(Component c, Graphics2D g2)-
Methods inherited from class com.formdev.flatlaf.icons.FlatAbstractIcon
getIconHeight, getIconWidth, paintIcon
-
-
-
-
Method Detail
-
paintIcon
protected void paintIcon(Component c, Graphics2D g2)
- Specified by:
paintIconin classFlatAbstractIcon
-
paintCheckmark
protected void paintCheckmark(Graphics2D g2)
-
isUnderlineSelection
protected boolean isUnderlineSelection()
-
-