| 软件包 | 描述 |
|---|---|
| javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
| javax.swing.plaf.basic |
根据基本的外观和感觉提供内置的用户界面对象。
|
| javax.swing.plaf.metal |
提供用户界面对象建立根据java的外观和感觉(一次代号为金属),它是默认的外观和感觉。
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
MutableComboBoxModel<E>
一个可变的版本
ComboBoxModel。
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultComboBoxModel<E>
组合框的默认模型。
|
| Modifier and Type | Field and Description |
|---|---|
protected ComboBoxModel<E> |
JComboBox.dataModel
这个保护字段是实现特定的。
|
| Modifier and Type | Method and Description |
|---|---|
ComboBoxModel<E> |
JComboBox.getModel()
返回的数据模型目前使用的
JComboBox。
|
| Modifier and Type | Method and Description |
|---|---|
int |
JComboBox.KeySelectionManager.selectionForKey(char aKey, ComboBoxModel aModel)
鉴于
aKey和模型,应该成为选择返回行。
|
void |
JComboBox.setModel(ComboBoxModel<E> aModel)
集的数据模型,
JComboBox使用获得的物品清单。
|
| Constructor and Description |
|---|
JComboBox(ComboBoxModel<E> aModel)
创建一个
JComboBox以其项目从现有的
ComboBoxModel。
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
BasicComboPopup.installComboBoxModelListeners(ComboBoxModel model)
在组合框模型上安装侦听器。
|
protected void |
BasicComboPopup.uninstallComboBoxModelListeners(ComboBoxModel model)
从组合框模型中移除侦听器
|
| Modifier and Type | Class and Description |
|---|---|
protected class |
MetalFileChooserUI.DirectoryComboBoxModel
用于类型人脸选择组合框的数据模型。
|
protected class |
MetalFileChooserUI.FilterComboBoxModel
用于类型人脸选择组合框的数据模型。
|
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.