| 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. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | JComboBox<E>A component that combines a button or editable field and a drop-down list. | 
| protected class  | JList.AccessibleJListThis class implements accessibility support for the
  JListclass. | 
| Modifier and Type | Method and Description | 
|---|---|
| ListDataListener[] | AbstractListModel. getListDataListeners()Returns an array of all the list data listeners
 registered on this  AbstractListModel. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ListModel. addListDataListener(ListDataListener l)Adds a listener to the list that's notified each time a change
 to the data model occurs. | 
| void | AbstractListModel. addListDataListener(ListDataListener l)Adds a listener to the list that's notified each time a change
 to the data model occurs. | 
| void | ListModel. removeListDataListener(ListDataListener l)Removes a listener from the list that's notified each time a
 change to the data model occurs. | 
| void | AbstractListModel. removeListDataListener(ListDataListener l)Removes a listener from the list that's notified each time a
 change to the data model occurs. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BasicComboBoxUI.ListDataHandlerThis listener watches for changes in the
  ComboBoxModel. | 
| class  | BasicComboPopup.ListDataHandlerAs of 1.4, this class is now obsolete, doesn't do anything, and
 is only included for backwards API compatibility. | 
| class  | BasicListUI.ListDataHandlerThe ListDataListener that's added to the JLists model at
 installUI time, and whenever the JList.model property changes. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected ListDataListener | BasicComboPopup. listDataListenerThis protected field is implementation specific. | 
| protected ListDataListener | BasicListUI. listDataListener | 
| protected ListDataListener | BasicComboBoxUI. listDataListenerThis protected field is implementation specific. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected ListDataListener | BasicComboPopup. createListDataListener()Creates a list data listener which will be added to the
  ComboBoxModel. | 
| protected ListDataListener | BasicListUI. createListDataListener()Creates an instance of ListDataListener that's added to
 the JLists by model as needed. | 
| protected ListDataListener | BasicComboBoxUI. createListDataListener()Creates a list data listener which will be added to the
  ComboBoxModel. | 
 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.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.