Package | Description |
---|---|
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.
|
javax.swing.plaf.metal |
Provides user interface objects built according to the Java look and feel
(once codenamed Metal), which is the default look and feel.
|
Modifier and Type | Interface | Description |
---|---|---|
interface |
MutableComboBoxModel<E> |
A mutable version of
ComboBoxModel . |
Modifier and Type | Class | Description |
---|---|---|
class |
DefaultComboBoxModel<E> |
The default model for combo boxes.
|
Modifier and Type | Field | Description |
---|---|---|
protected ComboBoxModel<E> |
JComboBox.dataModel |
This protected field is implementation specific.
|
Modifier and Type | Method | Description |
---|---|---|
ComboBoxModel<E> |
JComboBox.getModel() |
Returns the data model currently used by the
JComboBox . |
Modifier and Type | Method | Description |
---|---|---|
int |
JComboBox.KeySelectionManager.selectionForKey(char aKey,
ComboBoxModel<?> aModel) |
Given
aKey and the model, returns the row
that should become selected. |
void |
JComboBox.setModel(ComboBoxModel<E> aModel) |
Sets the data model that the
JComboBox uses to obtain
the list of items. |
Constructor | Description |
---|---|
JComboBox(ComboBoxModel<E> aModel) |
Creates a
JComboBox that takes its items from an
existing ComboBoxModel . |
Modifier and Type | Method | Description |
---|---|---|
protected void |
BasicComboPopup.installComboBoxModelListeners(ComboBoxModel<?> model) |
Installs the listeners on the combo box model.
|
protected void |
BasicComboPopup.uninstallComboBoxModelListeners(ComboBoxModel<?> model) |
Removes the listeners from the combo box model
|
Modifier and Type | Class | Description |
---|---|---|
protected class |
MetalFileChooserUI.DirectoryComboBoxModel |
Data model for a type-face selection combo-box.
|
protected class |
MetalFileChooserUI.FilterComboBoxModel |
Data model for a type-face selection combo-box.
|
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, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps