javax.swing.plaf.metal
Class MetalMenuBarUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.MenuBarUI
javax.swing.plaf.basic.BasicMenuBarUI
javax.swing.plaf.metal.MetalMenuBarUI
public class MetalMenuBarUI
- extends BasicMenuBarUI
Disabled: no SafeJ information.
Metal implementation of MenuBarUI
. This class is responsible
for providing the metal look and feel for JMenuBar
s.
- Since:
- 1.5
- See Also:
MenuBarUI
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetalMenuBarUI
public MetalMenuBarUI()
- Class is disabled.
createUI
public static ComponentUI createUI(JComponent x)
- Class is disabled.
- Creates the
ComponentUI
implementation for the passed
in component.
- Parameters:
x
- JComponent to create the ComponentUI implementation for
- Returns:
- ComponentUI implementation for
x
- Throws:
NullPointerException
- if x
is null
installUI
public void installUI(JComponent c)
- Class is disabled.
- Configures the specified component appropriate for the metal look and
feel.
- Overrides:
installUI
in class BasicMenuBarUI
- Parameters:
c
- the component where this UI delegate is being installed
- Throws:
NullPointerException
- if c
is null.- See Also:
ComponentUI.uninstallUI(javax.swing.JComponent)
,
JComponent.setUI(javax.swing.plaf.ComponentUI)
,
JComponent.updateUI()
uninstallUI
public void uninstallUI(JComponent c)
- Class is disabled.
- Reverses configuration which was done on the specified component during
installUI
.
- Overrides:
uninstallUI
in class BasicMenuBarUI
- Parameters:
c
- the component where this UI delegate is being installed
- Throws:
NullPointerException
- if c
is null.- See Also:
ComponentUI.installUI(javax.swing.JComponent)
,
JComponent.updateUI()
update
public void update(Graphics g,
JComponent c)
- Class is disabled.
- If necessary paints the background of the component, then
invokes
paint
.
- Overrides:
update
in class ComponentUI
- Parameters:
g
- Graphics to paint toc
- JComponent painting on
- Throws:
NullPointerException
- if g
or c
is
null- Since:
- 1.5
- See Also:
ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)
,
ComponentUI.paint(java.awt.Graphics, javax.swing.JComponent)