public final class PlasticMenuBarUI
extends javax.swing.plaf.basic.BasicMenuBarUI
MenuBarUI
.
Can handle optional Border
types as specified by the
BorderStyle
or HeaderStyle
client properties.Constructor and Description |
---|
PlasticMenuBarUI() |
Modifier and Type | Method and Description |
---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent b) |
protected void |
installDefaults() |
protected void |
installListeners() |
void |
installSpecialBorder()
Installs a special border, if either a look-dependent
BorderStyle
or a look-independent HeaderStyle has been specified. |
protected void |
uninstallListeners() |
void |
update(java.awt.Graphics g,
javax.swing.JComponent c) |
createChangeListener, createContainerListener, getMaximumSize, getMinimumSize, installKeyboardActions, installUI, uninstallDefaults, uninstallKeyboardActions, uninstallUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent b)
protected void installDefaults()
installDefaults
in class javax.swing.plaf.basic.BasicMenuBarUI
protected void installListeners()
installListeners
in class javax.swing.plaf.basic.BasicMenuBarUI
protected void uninstallListeners()
uninstallListeners
in class javax.swing.plaf.basic.BasicMenuBarUI
public void installSpecialBorder()
BorderStyle
or a look-independent HeaderStyle
has been specified.
A look specific BorderStyle
shadows a HeaderStyle
.
We recommend to specify a HeaderStyle
.
public void update(java.awt.Graphics g, javax.swing.JComponent c)
update
in class javax.swing.plaf.ComponentUI
Copyright © 2001-2009 JGoodies Karsten Lentzsch. All Rights Reserved.