Class FlatMenuArrowIcon

  • All Implemented Interfaces:
    javax.swing.Icon, javax.swing.plaf.UIResource
    Direct Known Subclasses:
    FlatMenuItemArrowIcon

    public class FlatMenuArrowIcon
    extends FlatAbstractIcon
    "arrow" icon for JMenu.
    UiDefault:
    Component.arrowType String triangle (default) or chevron, Menu.icon.arrowColor Color, Menu.icon.disabledArrowColor Color, Menu.selectionForeground Color, MenuItem.selectionType String
    • Field Detail

      • chevron

        protected final boolean chevron
      • arrowColor

        protected final java.awt.Color arrowColor
      • disabledArrowColor

        protected final java.awt.Color disabledArrowColor
      • selectionForeground

        protected final java.awt.Color selectionForeground
    • Constructor Detail

      • FlatMenuArrowIcon

        public FlatMenuArrowIcon()
    • Method Detail

      • paintIcon

        protected void paintIcon​(java.awt.Component c,
                                 java.awt.Graphics2D g)
        Specified by:
        paintIcon in class FlatAbstractIcon
      • getArrowColor

        protected java.awt.Color getArrowColor​(java.awt.Component c)
      • isUnderlineSelection

        protected boolean isUnderlineSelection()