| Package | Description |
|---|---|
| javax.swing | |
| javax.swing.plaf.basic | |
| javax.swing.plaf.metal |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ComboBoxModel<E>
A data model for a combo box.
|
interface |
MutableComboBoxModel<E>
A mutable version of
ComboBoxModel. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractListModel<E>
The abstract definition for the data model that provides
a
List with its contents. |
class |
DefaultComboBoxModel<E>
The default model for combo boxes.
|
class |
DefaultListModel<E>
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. |
| Modifier and Type | Method and Description |
|---|---|
ListModel<E> |
JList.getModel()
Returns the data model that holds the list of items displayed
by the
JList component. |
| Modifier and Type | Method and Description |
|---|---|
void |
JList.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.
|
| Constructor and Description |
|---|
JList(ListModel<E> dataModel)
Constructs a
JList that displays elements from the specified,
non-null, model. |
| Modifier and Type | Class and Description |
|---|---|
class |
BasicDirectoryModel
Basic implementation of a file list.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Class and Description |
|---|---|
protected class |
MetalFileChooserUI.DirectoryComboBoxModel
Data model for a type-face selection combo-box.
|
protected class |
MetalFileChooserUI.FilterComboBoxModel
Data model for a type-face selection combo-box.
|
Generated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.