Package com.formdev.flatlaf.ui
Class FlatMenuUI.FlatMenuRenderer
- java.lang.Object
-
- com.formdev.flatlaf.ui.FlatMenuItemRenderer
-
- com.formdev.flatlaf.ui.FlatMenuUI.FlatMenuRenderer
-
- Enclosing class:
- FlatMenuUI
protected class FlatMenuUI.FlatMenuRenderer extends FlatMenuItemRenderer
-
-
Field Summary
-
Fields inherited from class com.formdev.flatlaf.ui.FlatMenuItemRenderer
acceleratorArrowGap, acceleratorDelimiter, acceleratorFont, arrowIcon, checkBackground, checkIcon, checkMargins, menuItem, minimumIconSize, minimumWidth, textAcceleratorGap, textNoAcceleratorGap, underlineSelectionBackground, underlineSelectionCheckBackground, underlineSelectionColor, underlineSelectionHeight
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FlatMenuRenderer(javax.swing.JMenuItem menuItem, javax.swing.Icon checkIcon, javax.swing.Icon arrowIcon, java.awt.Font acceleratorFont, java.lang.String acceleratorDelimiter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
paintBackground(java.awt.Graphics g, java.awt.Color selectionBackground)
-
Methods inherited from class com.formdev.flatlaf.ui.FlatMenuItemRenderer
deriveBackground, getMacOSModifiersExText, getPreferredMenuItemSize, getTextForAccelerator, isArmedOrSelected, isTopLevelMenu, isUnderlineSelection, paintAccelerator, paintArrowIcon, paintHTMLText, paintIcon, paintIcon, paintMenuItem, paintText, paintText
-
-
-
-
Method Detail
-
paintBackground
protected void paintBackground(java.awt.Graphics g, java.awt.Color selectionBackground)
- Overrides:
paintBackground
in classFlatMenuItemRenderer
-
-