Uses of Interface
javax.swing.ListModel
Package
Description
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides user interface objects built according to the Basic look and feel.
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
Modifier and TypeInterfaceDescriptioninterface
A data model for a combo box.interface
A mutable version ofComboBoxModel
.Modifier and TypeClassDescriptionclass
The abstract definition for the data model that provides aList
with its contents.class
The default model for combo boxes.class
This class loosely implements thejava.util.Vector
API, in that it implements the 1.1.x version ofjava.util.Vector
, has no collection class support, and notifies theListDataListener
s when changes occur.Modifier and TypeMethodDescriptionJList.getModel()
Returns the data model that holds the list of items displayed by theJList
component.Modifier and TypeMethodDescriptionvoid
Sets the model that represents the contents or "value" of the list, notifies property change listeners, and then clears the list's selection. -
Uses of ListModel in javax.swing.plaf.basic
Modifier and TypeMethodDescriptionprotected void
BasicListUI.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 theCellRendererPane
to paint it. -
Uses of ListModel in javax.swing.plaf.metal
Modifier and TypeClassDescriptionprotected class
Data model for a type-face selection combo-box.protected class
Data model for a type-face selection combo-box.