软件包 | 描述 |
---|---|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.plaf |
提供一个接口和抽象类的使用许多摆动为可插拔的外观和感觉的能力。
|
javax.swing.plaf.basic |
根据基本的外观和感觉提供内置的用户界面对象。
|
javax.swing.plaf.metal |
提供用户界面对象建立根据java的外观和感觉(一次代号为金属),它是默认的外观和感觉。
|
javax.swing.plaf.multi |
提供结合两个或多个外观和感觉的用户界面对象。
|
Modifier and Type | Method and Description |
---|---|
JPopupMenu |
JComponent.getComponentPopupMenu()
返回
JPopupMenu 指定这个组件。
|
JPopupMenu |
JMenu.getPopupMenu()
返回与此相关的页的菜单。
|
Modifier and Type | Method and Description |
---|---|
protected JMenu.WinListener |
JMenu.createWinListener(JPopupMenu p)
创建一个弹出式窗口关闭的倾听者。
|
void |
JComponent.setComponentPopupMenu(JPopupMenu popup)
设置此
JComponent 的
JPopupMenu 。
|
Constructor and Description |
---|
WinListener(JPopupMenu p)
创建指定的弹出式窗口的监听器。
|
Modifier and Type | Method and Description |
---|---|
Popup |
PopupMenuUI.getPopup(JPopupMenu popup, int x, int y)
返回
Popup 负责显示
JPopupMenu 。
|
Modifier and Type | Class and Description |
---|---|
class |
BasicComboPopup
这是一个基本的
ComboPopup 接口实现。
|
Modifier and Type | Field and Description |
---|---|
protected JPopupMenu |
BasicPopupMenuUI.popupMenu |
Modifier and Type | Class and Description |
---|---|
class |
MetalComboBoxUI.MetalComboPopup
过时的。
作为java 2平台V1.4。
|
Modifier and Type | Method and Description |
---|---|
Popup |
MultiPopupMenuUI.getPopup(JPopupMenu a, int b, int c)
调用该对象的每个UI处理
getPopup 方法。
|
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.