Class RadianceMenuBackgroundDelegate
java.lang.Object
org.pushingpixels.radiance.theming.internal.utils.menu.RadianceMenuBackgroundDelegate
Delegate for painting background of menu items.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidpaintBackground(Graphics g, JComponent menuItem, int textOffset) Updates the specified menu item with the background that matches the provided parameters.static voidpaintHighlights(Graphics g, JMenuItem menuItem) Paints menu highlights.
-
Constructor Details
-
RadianceMenuBackgroundDelegate
public RadianceMenuBackgroundDelegate()
-
-
Method Details
-
paintBackground
Updates the specified menu item with the background that matches the provided parameters.- Parameters:
g- Graphic context.menuItem- Menu item.textOffset- The offset of the menu item text.
-
paintHighlights
-