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 Color
arrowColor
protected String
arrowType
protected Color
disabledArrowColor
protected Color
selectionForeground
-
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 Object
applyStyleProperty(String key, Object value)
protected Color
getArrowColor(Component c)
Map<String,Class<?>>
getStyleableInfos()
Object
getStyleableValue(String key)
protected boolean
isUnderlineSelection()
protected void
paintIcon(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:
paintIcon
in classFlatAbstractIcon
-
isUnderlineSelection
protected boolean isUnderlineSelection()
-
-