API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf.basic. BasicMenuBarUI View Source
Author(s)
Georges Saab
David Karlton
Arnaud Weber
Since
Version
1.81 11/17/05
Serial
Hierarchy
 Object
      ComponentUI
          MenuBarUI
              BasicMenuBarUI
Implements
Subclasses
Description
public class BasicMenuBarUI
  A default L&F implementation of MenuBarUI.
See also:   
Constructors
public BasicMenuBarUI ()
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 ()
protected ContainerListener createContainerListener ()
publicstatic ComponentUI createUI (JComponent x) [Overrides ComponentUI]
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.
pack-private InputMap getInputMap (int condition)
public Dimension getMaximumSize (JComponent c) [Overrides ComponentUI]
public Dimension getMinimumSize (JComponent c) [Overrides ComponentUI]
public Dimension getPreferredSize (JComponent c) [Inherited From ComponentUI]
  Returns the specified component's preferred size appropriate for the look and feel.
protected void installDefaults ()
protected void installKeyboardActions ()
protected void installListeners ()
public void installUI (JComponent c) [Overrides ComponentUI]
pack-privatestatic void loadActionMap (LazyActionMap map)
public void paint (Graphics g, JComponent c) [Inherited From ComponentUI]
  Paints the specified component appropriate for the look and feel.
protected void uninstallDefaults ()
protected void uninstallKeyboardActions ()
protected void uninstallListeners ()
public void uninstallUI (JComponent c) [Overrides ComponentUI]
public void update (Graphics g, JComponent c) [Inherited From ComponentUI]
  Notifies this UI delegate that it's time to paint the specified component.
Fields
Hide/Show inherited fields
protected ChangeListener changeListener
protected ContainerListener containerListener
protected JMenuBar menuBar
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar