Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-209 (Final Approval Ballot)

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 Approval Ballot)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 209 specification.