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 and Description |
---|---|
interface |
MutableComboBoxModel<E>
A mutable version of
ComboBoxModel . |
Modifier and Type | Class and Description |
---|---|
class |
DefaultComboBoxModel<E>
The default model for combo boxes.
|
Modifier and Type | Field and Description |
---|---|
protected ComboBoxModel<E> |
JComboBox.dataModel
This protected field is implementation specific.
|
Modifier and Type | Method and Description |
---|---|
ComboBoxModel<E> |
JComboBox.getModel()
Returns the data model currently used by the
JComboBox . |
Modifier and Type | Method and 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 and Description |
---|
JComboBox(ComboBoxModel<E> aModel)
Creates a
JComboBox that takes its items from an
existing ComboBoxModel . |
Modifier and Type | Method and 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 and 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, 2013, Oracle and/or its affiliates. All rights reserved.