| 软件包 | 描述 |
|---|---|
| javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
| javax.swing.plaf |
提供一个接口和抽象类的使用许多摆动为可插拔的外观和感觉的能力。
|
| javax.swing.plaf.basic |
根据基本的外观和感觉提供内置的用户界面对象。
|
| javax.swing.plaf.metal |
提供用户界面对象建立根据java的外观和感觉(一次代号为金属),它是默认的外观和感觉。
|
| javax.swing.plaf.multi |
提供结合两个或多个外观和感觉的用户界面对象。
|
| Constructor and Description |
|---|
DefaultCellEditor(JComboBox comboBox)
构建了一个
DefaultCellEditor对象使用组合框。
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
ComboBoxUI.isFocusTraversable(JComboBox c)
确定是否在组合框本身是可
|
abstract boolean |
ComboBoxUI.isPopupVisible(JComboBox c)
确定弹出式窗口的可见性
|
abstract void |
ComboBoxUI.setPopupVisible(JComboBox c, boolean v)
设置弹出式窗口的可见性
|
| Modifier and Type | Field and Description |
|---|---|
protected JComboBox |
BasicComboPopup.comboBox |
protected JComboBox |
BasicComboBoxUI.comboBox |
| Modifier and Type | Method and Description |
|---|---|
boolean |
BasicComboBoxUI.isFocusTraversable(JComboBox c)
确定JComboBox是遍历的。
|
boolean |
BasicComboBoxUI.isPopupVisible(JComboBox c)
告诉如果弹出是可见或不可见的。
|
void |
BasicComboBoxUI.setPopupVisible(JComboBox c, boolean v)
隐藏弹出。
|
| Constructor and Description |
|---|
BasicComboPopup(JComboBox combo) |
| Modifier and Type | Field and Description |
|---|---|
protected JComboBox |
MetalComboBoxButton.comboBox |
| Modifier and Type | Method and Description |
|---|---|
JComboBox |
MetalComboBoxButton.getComboBox() |
| Modifier and Type | Method and Description |
|---|---|
void |
MetalComboBoxButton.setComboBox(JComboBox cb) |
| Constructor and Description |
|---|
MetalComboBoxButton(JComboBox cb, Icon i, boolean onlyIcon, CellRendererPane pane, JList list) |
MetalComboBoxButton(JComboBox cb, Icon i, CellRendererPane pane, JList list) |
MetalComboPopup(JComboBox cBox)
过时的。
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
MultiComboBoxUI.isFocusTraversable(JComboBox a)
调用该对象的每个UI处理
isFocusTraversable方法。
|
boolean |
MultiComboBoxUI.isPopupVisible(JComboBox a)
调用该对象的每个UI处理
isPopupVisible方法。
|
void |
MultiComboBoxUI.setPopupVisible(JComboBox a, boolean b)
调用该对象的每个UI处理
setPopupVisible方法。
|
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.