MenuBarUI. This class is responsible
for providing the metal look and feel for JMenuBars.
javax.swing.plaf.MenuBarUI
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static ComponentUI | Returns: ComponentUI implementation forxJComponent to create the ComponentUI implementation for x)Hides javax. Creates the |
| public void | installUI(JComponent
the component where this UI delegate is being installed c)Overrides javax. Configures the specified component appropriate for the metal look and feel. |
| public void | uninstallUI(JComponent
the component where this UI delegate is being installed c)Overrides javax. Reverses configuration which was done on the specified component during
|
| public void | update(Graphics
Graphics to paint to g, JComponent JComponent painting on c)Overrides javax. If necessary paints the background of the component, then
invokes |
| MetalMenuBarUI | back to summary |
|---|---|
| public MetalMenuBarUI() Constructs a | |
| createUI | back to summary |
|---|---|
| public static ComponentUI createUI(JComponent x) Hides javax. Creates the
| |
| installUI | back to summary |
|---|---|
| public void installUI(JComponent c) Overrides javax. Configures the specified component appropriate for the metal look and feel.
| |
| uninstallUI | back to summary |
|---|---|
| public void uninstallUI(JComponent c) Overrides javax. Reverses configuration which was done on the specified component during
| |
| update | back to summary |
|---|---|
| public void update(Graphics g, JComponent c) Overrides javax. If necessary paints the background of the component, then
invokes
| |