| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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. | 
| 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 ListModel in javax.swing | 
|---|
| Subinterfaces of ListModel in javax.swing | |
|---|---|
|  interface | ComboBoxModelA data model for a combo box. | 
|  interface | MutableComboBoxModelA mutable version of ComboBoxModel. | 
| Classes in javax.swing that implement ListModel | |
|---|---|
|  class | AbstractListModelThe abstract definition for the data model that provides a Listwith its contents. | 
|  class | DefaultComboBoxModelThe default model for combo boxes. | 
|  class | DefaultListModelThis class loosely implements the java.util.VectorAPI, in that it implements the 1.1.x version ofjava.util.Vector, has no collection class support,
 and notifies theListDataListeners 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 JListcomponent. | 
| 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 JListthat displays the elements in the
 specified, non-nullmodel. | |
| Uses of ListModel in javax.swing.plaf.basic | 
|---|
| Classes in javax.swing.plaf.basic that implement ListModel | |
|---|---|
|  class | BasicDirectoryModelBasic implementation of a file list. | 
| Methods in javax.swing.plaf.basic with parameters of type ListModel | |
|---|---|
| protected  void | BasicListUI.paintCell(Graphics g,
          int row,
          Rectangle rowBounds,
          ListCellRenderer cellRenderer,
          ListModel dataModel,
          ListSelectionModel selModel,
          int leadIndex)Paint one List cell: compute the relevant state, get the "rubber stamp" cell renderer component, and then use the CellRendererPane to paint it. | 
| Uses of ListModel in javax.swing.plaf.metal | 
|---|
| Classes in javax.swing.plaf.metal that implement ListModel | |
|---|---|
| protected  class | MetalFileChooserUI.DirectoryComboBoxModelData model for a type-face selection combo-box. | 
| protected  class | MetalFileChooserUI.FilterComboBoxModelData model for a type-face selection combo-box. | 
| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.