Class FlatMenuUI

  • All Implemented Interfaces:
    FlatStylingSupport.StyleableLookupProvider, FlatStylingSupport.StyleableUI

    public class FlatMenuUI
    extends BasicMenuUI
    implements FlatStylingSupport.StyleableUI, FlatStylingSupport.StyleableLookupProvider
    Provides the Flat LaF UI delegate for JMenu.
    UiDefault:
    Menu.font Font, Menu.background Color, Menu.foreground Color, Menu.disabledForeground Color, Menu.selectionBackground Color, Menu.selectionForeground Color, Menu.acceleratorForeground Color, Menu.acceleratorSelectionForeground Color, MenuItem.acceleratorFont Font defaults to MenuItem.font, MenuItem.acceleratorDelimiter String, Menu.border Border, Menu.borderPainted boolean, Menu.margin Insets, Menu.arrowIcon Icon, Menu.checkIcon Icon, Menu.opaque boolean, Menu.crossMenuMnemonic boolean default is false, Menu.useMenuBarBackgroundForTopLevel boolean default is false, MenuBar.background Color used if Menu.useMenuBarBackgroundForTopLevel is true , MenuItem.iconTextGap int , MenuBar.selectionInsets Insets, MenuBar.selectionEmbeddedInsets Insets, MenuBar.selectionArc int, MenuBar.hoverBackground Color, MenuBar.selectionBackground Color optional; defaults to Menu.selectionBackground, MenuBar.selectionForeground Color optional; defaults to Menu.selectionForeground, MenuBar.underlineSelectionBackground Color, MenuBar.underlineSelectionColor Color, MenuBar.underlineSelectionHeight int