JSR-209 (Final Release)

Uses of Interface
javax.swing.ListModel

Packages that use ListModel
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
 

Uses of ListModel in javax.swing
 

Subinterfaces of ListModel in javax.swing
 interface ComboBoxModel
          A data model for a combo box.
 interface MutableComboBoxModel
          A mutable version of ComboBoxModel.
 

Classes in javax.swing that implement ListModel
 class AbstractListModel
          The abstract definition for the data model that provides a List with its contents.
 class DefaultComboBoxModel
          The default model for combo boxes.
 class DefaultListModel
          This class loosely implements the java.util.Vector API, in that it implements the 1.1.x version of java.util.Vector, has no collection class support, and notifies the ListDataListeners when changes occur.
 

Methods in javax.swing that return ListModel
 ListModel JList.getModel()
          Returns the data model that holds the list of items displayed by the JList component.
 

Methods in javax.swing with parameters of type ListModel
 void JList.setModel(ListModel model)
          Sets the model that represents the contents or "value" of the list and clears the list selection after notifying PropertyChangeListeners.
 

Constructors in javax.swing with parameters of type ListModel
JList(ListModel dataModel)
          Constructs a JList that displays the elements in the specified, non-null model.
 


JSR-209 (Final Release)

Java and Java 2D are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
Copyright 1993 - 2006 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All Rights Reserved.
Use of this specification is subject to this license.