com.jgoodies.looks.plastic

Class PlasticMenuUI

public final class PlasticMenuUI extends ExtBasicMenuUI

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.

Version: $Revision: 1.8 $

Author: Karsten Lentzsch

See Also: Options

Method Summary
static ComponentUIcreateUI(JComponent b)
protected voidinstallDefaults()
protected voidpaintMenuItem(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 voiduninstallDefaults()

Method Detail

createUI

public static ComponentUI createUI(JComponent b)

installDefaults

protected void installDefaults()

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.

uninstallDefaults

protected void uninstallDefaults()
Copyright © 2001-2008 JGoodies Karsten Lentzsch. All Rights Reserved.