API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf.metal. MetalMenuBarUI View Source
Author(s)
Since
1.5
Version
1.7 11/17/05
Serial
Hierarchy
 Object
      ComponentUI
          MenuBarUI
              BasicMenuBarUI
                  MetalMenuBarUI
Implements
Subclasses
Description
public class MetalMenuBarUI
  Metal implementation of MenuBarUI.
See also:    MenuBarUI
Constructors
public MetalMenuBarUI ()
Methods
Hide/Show inherited methods
public boolean contains (JComponent c, int x, int y) [Inherited From ComponentUI]
  Returns true if the specified x,y location is contained within the look and feel's defined shape of the specified component.
protected ChangeListener createChangeListener () [Inherited From BasicMenuBarUI]
protected ContainerListener createContainerListener () [Inherited From BasicMenuBarUI]
publicstatic ComponentUI createUI (JComponent x) [Overrides BasicMenuBarUI]
  Creates the ComponentUI implementation for the passed in component.
public Accessible getAccessibleChild (JComponent c, int i) [Inherited From ComponentUI]
  Returns the ith Accessible child of the object.
public int getAccessibleChildrenCount (JComponent c) [Inherited From ComponentUI]
  Returns the number of accessible children in the object.
public int getBaseline (JComponent c, int width, int height) [Inherited From ComponentUI]
  Returns the baseline.
public BaselineResizeBehavior getBaselineResizeBehavior (JComponent c) [Inherited From ComponentUI]
  Returns an enum indicating how the baseline of he component changes as the size changes.
public Dimension getMaximumSize (JComponent c) [Inherited From BasicMenuBarUI]
public Dimension getMinimumSize (JComponent c) [Inherited From BasicMenuBarUI]
public Dimension getPreferredSize (JComponent c) [Inherited From ComponentUI]
  Returns the specified component's preferred size appropriate for the look and feel.
protected void installDefaults () [Inherited From BasicMenuBarUI]
protected void installKeyboardActions () [Inherited From BasicMenuBarUI]
protected void installListeners () [Inherited From BasicMenuBarUI]
public void installUI (JComponent c) [Overrides BasicMenuBarUI]
  Configures the specified component appropriate for the metal look and feel.
public void paint (Graphics g, JComponent c) [Inherited From ComponentUI]
  Paints the specified component appropriate for the look and feel.
protected void uninstallDefaults () [Inherited From BasicMenuBarUI]
protected void uninstallKeyboardActions () [Inherited From BasicMenuBarUI]
protected void uninstallListeners () [Inherited From BasicMenuBarUI]
public void uninstallUI (JComponent c) [Overrides BasicMenuBarUI]
  Reverses configuration which was done on the specified component during installUI.
public void update (Graphics g, JComponent c) [Overrides ComponentUI]
  If necessary paints the background of the component, then invokes paint.
Fields
Hide/Show inherited fields
protected ChangeListener changeListener [Inherited From BasicMenuBarUI]
protected ContainerListener containerListener [Inherited From BasicMenuBarUI]
protected JMenuBar menuBar [Inherited From BasicMenuBarUI]
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar