## Uses of Interface
javax.swing.ComboBoxModel

Packages that use ComboBoxModel
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.

### Uses of ComboBoxModel in javax.swing

Subinterfaces of ComboBoxModel in javax.swing
Modifier and Type | Interface and Description
--- | ---
`interface` | `MutableComboBoxModel` A mutable version of `ComboBoxModel`.

Classes in javax.swing that implement ComboBoxModel
Modifier and Type | Class and Description
--- | ---
`class` | `DefaultComboBoxModel` The default model for combo boxes.

Fields in javax.swing declared as ComboBoxModel
Modifier and Type | Field and Description
--- | ---
`protected ComboBoxModel` | JComboBox.`dataModel` This protected field is implementation specific.

Methods in javax.swing that return ComboBoxModel
Modifier and Type | Method and Description
--- | ---
`ComboBoxModel` | JComboBox.`getModel()` Returns the data model currently used by the `JComboBox`.

Methods in javax.swing with parameters of type ComboBoxModel
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 aModel)` Sets the data model that the `JComboBox` uses to obtain the list of items.

Constructors in javax.swing with parameters of type ComboBoxModel
Constructor and Description
`JComboBox(ComboBoxModel aModel)` Creates a `JComboBox` that takes its items from an existing `ComboBoxModel`.

### Uses of ComboBoxModel in javax.swing.plaf.basic

Methods in javax.swing.plaf.basic with parameters of type 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

### Uses of ComboBoxModel in javax.swing.plaf.metal

Classes in javax.swing.plaf.metal that implement ComboBoxModel
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.

Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved.