软件包 | 描述 |
---|---|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.plaf.basic |
根据基本的外观和感觉提供内置的用户界面对象。
|
javax.swing.plaf.metal |
提供用户界面对象建立根据java的外观和感觉(一次代号为金属),它是默认的外观和感觉。
|
Modifier and Type | Method and Description |
---|---|
JMenu |
JMenuBar.add(JMenu c)
将指定的菜单,菜单栏的结束。
|
JMenu |
JMenuBar.getHelpMenu()
获取菜单栏的帮助菜单。
|
JMenu |
JMenuBar.getMenu(int index)
返回菜单栏中指定位置的菜单。
|
Modifier and Type | Method and Description |
---|---|
JMenu |
JMenuBar.add(JMenu c)
将指定的菜单,菜单栏的结束。
|
void |
JMenuBar.setHelpMenu(JMenu menu)
设置当用户在菜单栏中选择“帮助”选项时出现的“帮助”菜单。
|
Modifier and Type | Field and Description |
---|---|
JMenu |
BasicMenuUI.ChangeHandler.menu |
protected JMenu |
BasicInternalFrameTitlePane.windowMenu |
Modifier and Type | Method and Description |
---|---|
protected JMenu |
BasicInternalFrameTitlePane.createSystemMenu() |
Modifier and Type | Method and Description |
---|---|
protected void |
BasicInternalFrameTitlePane.addSystemMenuItems(JMenu systemMenu) |
protected void |
BasicMenuUI.setupPostTimer(JMenu menu) |
Constructor and Description |
---|
ChangeHandler(JMenu m, BasicMenuUI ui) |
Modifier and Type | Method and Description |
---|---|
protected void |
MetalInternalFrameTitlePane.addSystemMenuItems(JMenu systemMenu)
重写父的方法不做任何事。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.