public final class PlasticMenuBarUI extends BasicMenuBarUI
MenuBarUI.
Can handle optional Border types as specified by the
BorderStyle or HeaderStyle client properties.changeListener, containerListener, menuBar| Constructor and Description |
|---|
PlasticMenuBarUI() |
| Modifier and Type | Method and Description |
|---|---|
static ComponentUI |
createUI(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(Graphics g,
JComponent c) |
createChangeListener, createContainerListener, getMaximumSize, getMinimumSize, installKeyboardActions, installUI, uninstallDefaults, uninstallKeyboardActions, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getPreferredSize, paintpublic static ComponentUI createUI(JComponent b)
protected void installDefaults()
installDefaults in class BasicMenuBarUIprotected void installListeners()
installListeners in class BasicMenuBarUIprotected void uninstallListeners()
uninstallListeners in class BasicMenuBarUIpublic 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(Graphics g, JComponent c)
update in class ComponentUICopyright © 2001-2014 JGoodies Software GmbH. All Rights Reserved.