com.jgoodies.looks.plastic

## Class PlasticMenuBarUI

- java.lang.Object
- - javax.swing.plaf.ComponentUI
  - - javax.swing.plaf.MenuBarUI
    - - javax.swing.plaf.basic.BasicMenuBarUI
      - - com.jgoodies.looks.plastic.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.9 $
  Author:
    Karsten Lentzsch

- - ### Field Summary

    - ### Fields inherited from class javax.swing.plaf.basic.BasicMenuBarUI

      `changeListener, containerListener, menuBar`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PlasticMenuBarUI()`

  - ### Method Summary

    Methods
    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)`

    - ### Methods inherited from class javax.swing.plaf.basic.BasicMenuBarUI

      `createChangeListener, createContainerListener, getMaximumSize, getMinimumSize, installKeyboardActions, installUI, uninstallDefaults, uninstallKeyboardActions, uninstallUI`

    - ### Methods inherited from class javax.swing.plaf.ComponentUI

      `contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getPreferredSize, paint`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PlasticMenuBarUI

          public PlasticMenuBarUI()

  - ### Method Detail

    - #### createUI

          public static ComponentUI createUI(JComponent b)

    - #### installDefaults

          protected void installDefaults()

      Overrides:
        `installDefaults` in class `BasicMenuBarUI`

    - #### installListeners

          protected void installListeners()

      Overrides:
        `installListeners` in class `BasicMenuBarUI`

    - #### uninstallListeners

          protected void uninstallListeners()

      Overrides:
        `uninstallListeners` in class `BasicMenuBarUI`

    - #### 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`.

    - #### update

          public void update(Graphics g,
                    JComponent c)

      Overrides:
        `update` in class `ComponentUI`

Copyright © 2001-2014 JGoodies Software GmbH. All Rights Reserved.