|
Java™ Platform Standard Ed. 6 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES All Classes | |||||||||
| Packages that use JMenuBar | |
|---|---|
| javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. |
| javax.swing.plaf.basic | Provides user interface objects built according to the Basic look and feel. |
| Uses of JMenuBar in javax.swing |
|---|
| Fields in javax.swing declared as JMenuBar | |
|---|---|
protected JMenuBar |
JRootPane.menuBar
The menu bar. |
| Methods in javax.swing that return JMenuBar | |
|---|---|
JMenuBar |
JRootPane.getJMenuBar()
Returns the menu bar from the layered pane. |
JMenuBar |
JInternalFrame.getJMenuBar()
Returns the current JMenuBar for this
JInternalFrame, or null
if no menu bar has been set. |
JMenuBar |
JFrame.getJMenuBar()
Returns the menubar set on this frame. |
JMenuBar |
JDialog.getJMenuBar()
Returns the menubar set on this dialog. |
JMenuBar |
JApplet.getJMenuBar()
Returns the menubar set on this applet. |
JMenuBar |
JRootPane.getMenuBar()
Deprecated. As of Swing version 1.0.3 replaced by getJMenuBar(). |
JMenuBar |
JInternalFrame.getMenuBar()
Deprecated. As of Swing version 1.0.3, replaced by getJMenuBar(). |
| Methods in javax.swing with parameters of type JMenuBar | |
|---|---|
void |
JRootPane.setJMenuBar(JMenuBar menu)
Adds or changes the menu bar used in the layered pane. |
void |
JInternalFrame.setJMenuBar(JMenuBar m)
Sets the menuBar property for this JInternalFrame. |
void |
JFrame.setJMenuBar(JMenuBar menubar)
Sets the menubar for this frame. |
void |
JDialog.setJMenuBar(JMenuBar menu)
Sets the menubar for this dialog. |
void |
JApplet.setJMenuBar(JMenuBar menuBar)
Sets the menubar for this applet. |
void |
JRootPane.setMenuBar(JMenuBar menu)
Deprecated. As of Swing version 1.0.3 replaced by setJMenuBar(JMenuBar menu). |
void |
JInternalFrame.setMenuBar(JMenuBar m)
Deprecated. As of Swing version 1.0.3 replaced by setJMenuBar(JMenuBar m). |
| Uses of JMenuBar in javax.swing.plaf.basic |
|---|
| Subclasses of JMenuBar in javax.swing.plaf.basic | |
|---|---|
class |
BasicInternalFrameTitlePane.SystemMenuBar
This class should be treated as a "protected" inner class. |
| Fields in javax.swing.plaf.basic declared as JMenuBar | |
|---|---|
protected JMenuBar |
BasicMenuBarUI.menuBar
|
protected JMenuBar |
BasicInternalFrameTitlePane.menuBar
|
| Methods in javax.swing.plaf.basic that return JMenuBar | |
|---|---|
protected JMenuBar |
BasicInternalFrameTitlePane.createSystemMenuBar()
|
|
Java™ Platform Standard Ed. 6 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES All Classes | |||||||||
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
Scripting on this page tracks web page traffic, but does not change the content in any way.