站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Class javax.swing.JMenuBar - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Class
javax.swing.JMenuBar

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 JInternalFrame.getMenuBar()
          Deprecated. As of Swing version 1.0.3, replaced by getJMenuBar().
 JMenuBar JInternalFrame.getJMenuBar()
          Returns the current JMenuBar for this JInternalFrame, or null if no menu bar has been set.
 JMenuBar JApplet.getJMenuBar()
          Returns the menubar set on this applet.
 JMenuBar JRootPane.getJMenuBar()
          Returns the menu bar from the layered pane.
 JMenuBar JRootPane.getMenuBar()
          Deprecated. As of Swing version 1.0.3 replaced by getJMenubar().
 JMenuBar JDialog.getJMenuBar()
          Returns the menubar set on this dialog.
 JMenuBar JFrame.getJMenuBar()
          Returns the menubar set on this frame.
 

Methods in javax.swing with parameters of type JMenuBar
 void JInternalFrame.setMenuBar(JMenuBar m)
          Deprecated. As of Swing version 1.0.3 replaced by setJMenuBar(JMenuBar m).
 void JInternalFrame.setJMenuBar(JMenuBar m)
          Sets the JMenuBar for this JInternalFrame.
 void JApplet.setJMenuBar(JMenuBar menuBar)
          Sets the menubar for this applet.
 void JRootPane.setJMenuBar(JMenuBar menu)
          Adds or changes the menu bar used in the layered pane.
 void JRootPane.setMenuBar(JMenuBar menu)
          Deprecated. As of Swing version 1.0.3 replaced by setJMenuBar(JMenuBar menu).
 void JDialog.setJMenuBar(JMenuBar menu)
          Sets the menubar for this dialog.
 void JFrame.setJMenuBar(JMenuBar menubar)
          Sets the menubar for this frame.
 

Constructors in javax.swing with parameters of type JMenuBar
JMenuBar.AccessibleJMenuBar.JMenuBar.AccessibleJMenuBar()
           
 

Uses of JMenuBar in javax.swing.plaf.basic
 

Subclasses of JMenuBar in javax.swing.plaf.basic
 class BasicInternalFrameTitlePane.SystemMenuBar
          This inner class is marked "public" due to a compiler bug.
 

Fields in javax.swing.plaf.basic declared as JMenuBar
protected  JMenuBar BasicInternalFrameTitlePane.menuBar
           
protected  JMenuBar BasicMenuBarUI.menuBar
           
 

Methods in javax.swing.plaf.basic that return JMenuBar
protected  JMenuBar BasicInternalFrameTitlePane.createSystemMenuBar()
           
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.