Uses of Interface
javax.swing.ListModel
| 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.
|
| 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 Modifier and Type Interface Description interfaceComboBoxModel<E>A data model for a combo box.interfaceMutableComboBoxModel<E>A mutable version ofComboBoxModel.Classes in javax.swing that implement ListModel Modifier and Type Class Description classAbstractListModel<E>The abstract definition for the data model that provides aListwith its contents.classDefaultComboBoxModel<E>The default model for combo boxes.classDefaultListModel<E>This class loosely implements thejava.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 Modifier and Type Method Description ListModel<E>JList. getModel()Returns the data model that holds the list of items displayed by theJListcomponent.Methods in javax.swing with parameters of type ListModel Modifier and Type Method Description voidJList. setModel(ListModel<E> model)Sets the model that represents the contents or "value" of the list, notifies property change listeners, and then clears the list's selection.Constructors in javax.swing with parameters of type ListModel Constructor Description JList(ListModel<E> dataModel)Constructs aJListthat displays elements from the specified,non-null, model. -
Uses of ListModel in javax.swing.plaf.basic
Classes in javax.swing.plaf.basic that implement ListModel Modifier and Type Class Description classBasicDirectoryModelBasic implementation of a file list.Methods in javax.swing.plaf.basic with parameters of type ListModel Modifier and Type Method Description protected voidBasicListUI. paintCell(Graphics g, int row, Rectangle rowBounds, ListCellRenderer<Object> cellRenderer, ListModel<Object> dataModel, ListSelectionModel selModel, int leadIndex)Paint one List cell: compute the relevant state, get the "rubber stamp" cell renderer component, and then use theCellRendererPaneto paint it. -
Uses of ListModel in javax.swing.plaf.metal
Classes in javax.swing.plaf.metal that implement ListModel Modifier and Type Class Description protected classMetalFileChooserUI.DirectoryComboBoxModelData model for a type-face selection combo-box.protected classMetalFileChooserUI.FilterComboBoxModelData model for a type-face selection combo-box.