public class

WindowsMenuBarUI

extends BasicMenuBarUI
java.lang.Object
   ↳ javax.swing.plaf.ComponentUI
     ↳ javax.swing.plaf.MenuBarUI
       ↳ javax.swing.plaf.basic.BasicMenuBarUI
         ↳ com.sun.java.swing.plaf.windows.WindowsMenuBarUI

Class Overview

Windows rendition of the component.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence.

Summary

[Expand]
Inherited Fields
From class javax.swing.plaf.basic.BasicMenuBarUI
Public Constructors
WindowsMenuBarUI()
Public Methods
static ComponentUI createUI(JComponent x)
void paint(Graphics g, JComponent c)
Paints the specified component appropriate for the look and feel.
Protected Methods
void installKeyboardActions()
void installListeners()
void uninstallListeners()
[Expand]
Inherited Methods
From class javax.swing.plaf.basic.BasicMenuBarUI
From class javax.swing.plaf.ComponentUI
From class java.lang.Object

Public Constructors

public WindowsMenuBarUI ()

Public Methods

public static ComponentUI createUI (JComponent x)

public void paint (Graphics g, JComponent c)

Paints the specified component appropriate for the look and feel. This method is invoked from the ComponentUI.update method when the specified component is being painted. Subclasses should override this method and use the specified Graphics object to render the content of the component.

Parameters
g the Graphics context in which to paint
c the component being painted; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components

Protected Methods

protected void installKeyboardActions ()

protected void installListeners ()

protected void uninstallListeners ()