MenuBarUI
. This class is responsible
for providing the metal look and feel for JMenuBar
s.
javax.swing.plaf.MenuBarUI
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public static ComponentUI | Returns: ComponentUI implementation forx JComponent to create the ComponentUI implementation for x)Hides javax. ComponentUI implementation for the passed
in component.
|
public void | installUI(JComponent
the component where this UI delegate is being installed c)
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. installUI .
|
public void | update(Graphics
Graphics to paint to g, JComponent JComponent painting on c)Overrides javax. paint .
|
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
|