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:
- CheckBoxMenuItem.icon.checkmarkColor Color, CheckBoxMenuItem.icon.disabledCheckmarkColor Color, MenuItem.selectionForeground Color, MenuItem.selectionType String
-
-
Field Summary
Fields Modifier and Type Field Description protected Color
checkmarkColor
protected Color
disabledCheckmarkColor
protected Color
selectionForeground
-
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 Object
applyStyleProperty(String key, Object value)
protected Color
getCheckmarkColor(Component c)
Map<String,Class<?>>
getStyleableInfos()
Object
getStyleableValue(String key)
protected boolean
isUnderlineSelection()
protected void
paintCheckmark(Graphics2D g2)
protected void
paintIcon(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:
paintIcon
in classFlatAbstractIcon
-
paintCheckmark
protected void paintCheckmark(Graphics2D g2)
-
isUnderlineSelection
protected boolean isUnderlineSelection()
-
-