Class SubstanceMenuBackgroundDelegate
java.lang.Object
org.pushingpixels.substance.internal.utils.menu.SubstanceMenuBackgroundDelegate
Delegate for painting background of menu items.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidpaintBackground(Graphics g, Component menuItem, int textOffset) Updates the specified menu item with the background that matches the provided parameters.static voidpaintHighlights(Graphics g, JMenuItem menuItem, float borderAlpha) Paints menu highlights.
-
Constructor Details
-
SubstanceMenuBackgroundDelegate
public SubstanceMenuBackgroundDelegate()
-
-
Method Details
-
paintBackground
-
paintHighlights
-