MenuItem.SectionHeader
Modifier and Type | Field and Description |
---|---|
Color |
backgroundColor |
action, Checked, customEdge, data, defaultBackground, Disabled, fontChange, HasCustomBackground, hotkey, id, image, indentLevel, label, MODIFIER_CHECKED, MODIFIER_DISABLED, MODIFIER_DONT_HIGHLIGHT, MODIFIER_IS_SEPARATOR, MODIFIER_SELECTED, modifiers, originalIndex, SectionHeader, Selected, Separator, SoftKeyFixed, splitLabel, subMenu
Constructor and Description |
---|
SectionHeader(String label) |
Modifier and Type | Method and Description |
---|---|
void |
paintCustomBackground(Graphics g,
int x,
int y,
int width,
int height)
This will only be called if the HasCustomBackground flag is set.
|
MenuItem.SectionHeader |
setBackgroundColor(Color background) |
canBeSelected, equals, getActualSubMenu, getIconized, getIconized, getIconized, iconize, iconize, set, setText, toString
public Color backgroundColor
public SectionHeader(String label)
public MenuItem.SectionHeader setBackgroundColor(Color background)
public void paintCustomBackground(Graphics g, int x, int y, int width, int height)
MenuItem
paintCustomBackground
in class MenuItem