This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
javax.swing.plaf.basic
class BasicMenuBarUI
- Direct Known Subclasses:
- MetalMenuBarUI
public class BasicMenuBarUI
extends MenuBarUI
A default L&F implementation of MenuBarUI. This implementation
is a "combined" view/controller.
Method Summary |
protected ChangeListener |
|
protected ContainerListener |
|
static ComponentUI |
|
Dimension |
Returns the specified component's maximum size appropriate for
the look and feel.
|
Dimension |
Returns the specified component's minimum size appropriate for
the look and feel.
|
protected void |
|
protected void |
|
protected void |
|
void |
Configures the specified component appropriate for the look and feel.
|
protected void |
|
protected void |
|
protected void |
|
void |
Reverses configuration which was done on the specified component during
installUI .
|
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
changeListener
protected ChangeListener changeListener
-
containerListener
protected ContainerListener containerListener
-
menuBar
protected JMenuBar menuBar
-
BasicMenuBarUI
public BasicMenuBarUI()
-
createChangeListener
protected ChangeListener createChangeListener()
-
createContainerListener
protected ContainerListener createContainerListener()
-
createUI
public static ComponentUI createUI(JComponent x)
-
- Parameters:
x
getMaximumSize
public Dimension getMaximumSize(JComponent c)
-
- Overrides:
getMaximumSize
in class ComponentUI
- Parameters:
c
getMinimumSize
public Dimension getMinimumSize(JComponent c)
-
- Overrides:
getMinimumSize
in class ComponentUI
- Parameters:
c
installDefaults
protected void installDefaults()
-
installKeyboardActions
protected void installKeyboardActions()
-
installListeners
protected void installListeners()
-
installUI
public void installUI(JComponent c)
-
- Overrides:
installUI
in class ComponentUI
- Parameters:
c
uninstallDefaults
protected void uninstallDefaults()
-
uninstallKeyboardActions
protected void uninstallKeyboardActions()
-
uninstallListeners
protected void uninstallListeners()
-
uninstallUI
public void uninstallUI(JComponent c)
-
- Overrides:
uninstallUI
in class ComponentUI
- Parameters:
c
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.