com.jgoodies.looks.plastic

Class PlasticMenuBarUI

public final class PlasticMenuBarUI extends BasicMenuBarUI

The JGoodies Plastic look and feel implemenation of MenuBarUI. Can handle optional Border types as specified by the BorderStyle or HeaderStyle client properties.

Version: $Revision: 1.5 $

Author: Karsten Lentzsch

Method Summary
static ComponentUIcreateUI(JComponent b)
protected voidinstallDefaults()
protected voidinstallListeners()
voidinstallSpecialBorder()
Installs a special border, if either a look-dependent BorderStyle or a look-independent HeaderStyle has been specified.
protected voiduninstallListeners()
voidupdate(Graphics g, JComponent c)

Method Detail

createUI

public static ComponentUI createUI(JComponent b)

installDefaults

protected void installDefaults()

installListeners

protected void installListeners()

installSpecialBorder

public void installSpecialBorder()
Installs a special border, if either a look-dependent BorderStyle or a look-independent HeaderStyle has been specified. A look specific BorderStyle shadows a HeaderStyle.

We recommend to specify a HeaderStyle.

uninstallListeners

protected void uninstallListeners()

update

public void update(Graphics g, JComponent c)
Copyright © 2001-2008 JGoodies Karsten Lentzsch. All Rights Reserved.