com.jgoodies.looks.plastic
Class PlasticMenuUI
public final class PlasticMenuUI
The JGoodies Plastic look&feel implementation of MenuUI
.
It differs from the superclass in that it uses an overhauled menu
rendering an aligmnent system. Furthermore, you can set a client property
Options.NO_ICONS_KEY to indicate that this menu has no icons.
static ComponentUI | createUI(JComponent b)
|
protected void | installDefaults()
|
protected void | paintMenuItem(Graphics g, JComponent c, Icon aCheckIcon, Icon anArrowIcon, Color background, Color foreground, int textIconGap) - Makes the item transparent, if it is not a sub menu and the model is not selected.
|
protected void | uninstallDefaults()
|
paintMenuItem
protected void paintMenuItem(Graphics g,
JComponent c,
Icon aCheckIcon,
Icon anArrowIcon,
Color background,
Color foreground,
int textIconGap)
Makes the item transparent, if it is not a sub menu and the model is not selected.
- paintMenuItem in interface ExtBasicMenuUI
Copyright © 2001-2008 JGoodies Karsten Lentzsch. All Rights Reserved.