Package com.formdev.flatlaf.icons
Class FlatMenuArrowIcon
- java.lang.Object
-
- com.formdev.flatlaf.icons.FlatAbstractIcon
-
- com.formdev.flatlaf.icons.FlatMenuArrowIcon
-
- All Implemented Interfaces:
Icon,UIResource
public class FlatMenuArrowIcon extends FlatAbstractIcon
"arrow" icon forJMenu.- UiDefault:
- Component.arrowType String chevron (default) or triangle, Menu.icon.arrowColor Color, Menu.icon.disabledArrowColor Color, Menu.selectionForeground Color, MenuItem.selectionType String
-
-
Field Summary
Fields Modifier and Type Field Description protected ColorarrowColorprotected StringarrowTypeprotected ColordisabledArrowColorprotected ColorselectionForeground-
Fields inherited from class com.formdev.flatlaf.icons.FlatAbstractIcon
color, height, width
-
-
Constructor Summary
Constructors Constructor Description FlatMenuArrowIcon()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectapplyStyleProperty(String key, Object value)protected ColorgetArrowColor(Component c)Map<String,Class<?>>getStyleableInfos()ObjectgetStyleableValue(String key)protected booleanisUnderlineSelection()protected voidpaintIcon(Component c, Graphics2D g)-
Methods inherited from class com.formdev.flatlaf.icons.FlatAbstractIcon
getIconHeight, getIconWidth, paintIcon
-
-
-
-
Method Detail
-
paintIcon
protected void paintIcon(Component c, Graphics2D g)
- Specified by:
paintIconin classFlatAbstractIcon
-
isUnderlineSelection
protected boolean isUnderlineSelection()
-
-