Java Platform 1.2

Uses of Interface
javax.swing.event.ListDataListener

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

Uses of ListDataListener in javax.swing
 

Classes in javax.swing that implement ListDataListener
 class JComboBox
          Swing's implementation of a ComboBox -- a combination of a text field and drop-down list that lets the user either type in a value or select it from a list that is displayed when the user asks for it.
protected  class JList.AccessibleJList
          The class used to obtain the accessible role for this object.
 

Methods in javax.swing with parameters of type ListDataListener
 void AbstractListModel.addListDataListener(ListDataListener l)
          Add a listener to the list that's notified each time a change to the data model occurs.
 void AbstractListModel.removeListDataListener(ListDataListener l)
          Remove a listener from the list that's notified each time a change to the data model occurs.
 void ListModel.addListDataListener(ListDataListener l)
          Add a listener to the list that's notified each time a change to the data model occurs.
 void ListModel.removeListDataListener(ListDataListener l)
          Remove a listener from the list that's notified each time a change to the data model occurs.
 

Uses of ListDataListener in javax.swing.plaf.basic
 

Classes in javax.swing.plaf.basic that implement ListDataListener
 class BasicComboBoxUI.ListDataHandler
          This listener watches for changes in the data and revalidates.
 class BasicComboPopup.ListDataHandler
          Keeps the selected index in the list in-sync with the combo box's selection.
 class BasicListUI.ListDataHandler
          The ListDataListener that's added to the JLists model at installUI time, and whenever the JList.model property changes.
 

Fields in javax.swing.plaf.basic declared as ListDataListener
protected  ListDataListener BasicListUI.listDataListener
           
protected  ListDataListener BasicComboPopup.listDataListener
           
protected  ListDataListener BasicComboBoxUI.listDataListener
           
 

Methods in javax.swing.plaf.basic that return ListDataListener
protected  ListDataListener BasicListUI.createListDataListener()
          Creates an instance of ListDataListener that's added to the JLists by model as needed.
protected  ListDataListener BasicComboPopup.createListDataListener()
          Creates a list data listener that watches for inserted and removed items from the combo box model.
protected  ListDataListener BasicComboBoxUI.createListDataListener()
          Creates the list data listener that is used for caching the preferred sizes.
 


Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.