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.
|
javax.swing.plaf.synth |
Synth is a skinnable look and feel in which all painting is delegated.
|
Modifier and Type | Class | Description |
---|---|---|
class |
DefaultListCellRenderer |
Renders an item in a list.
|
static class |
DefaultListCellRenderer.UIResource |
A subclass of DefaultListCellRenderer that implements UIResource.
|
Modifier and Type | Field | Description |
---|---|---|
protected ListCellRenderer<? super E> |
JComboBox.renderer |
This protected field is implementation specific.
|
Modifier and Type | Method | Description |
---|---|---|
ListCellRenderer<? super E> |
JList.getCellRenderer() |
Returns the object responsible for painting list items.
|
ListCellRenderer<? super E> |
JComboBox.getRenderer() |
Returns the renderer used to display the selected item in the
JComboBox field. |
Modifier and Type | Method | Description |
---|---|---|
void |
JList.setCellRenderer(ListCellRenderer<? super E> cellRenderer) |
Sets the delegate that is used to paint each cell in the list.
|
void |
JComboBox.setRenderer(ListCellRenderer<? super E> aRenderer) |
Sets the renderer that paints the list items and the item selected from the list in
the JComboBox field.
|
Modifier and Type | Class | Description |
---|---|---|
class |
BasicComboBoxRenderer |
ComboBox renderer
|
static class |
BasicComboBoxRenderer.UIResource |
A subclass of BasicComboBoxRenderer that implements UIResource.
|
Modifier and Type | Method | Description |
---|---|---|
protected ListCellRenderer<Object> |
BasicComboBoxUI.createRenderer() |
Creates the default renderer that will be used in a non-editiable combo
box.
|
Modifier and Type | Method | Description |
---|---|---|
protected 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 the
CellRendererPane to paint it. |
Modifier and Type | Class | Description |
---|---|---|
protected class |
MetalFileChooserUI.FileRenderer |
Deprecated.
As of JDK version 9. Obsolete class.
|
class |
MetalFileChooserUI.FilterComboBoxRenderer |
Render different type sizes and styles.
|
Modifier and Type | Method | Description |
---|---|---|
protected ListCellRenderer<Object> |
SynthComboBoxUI.createRenderer() |
Creates the default renderer that will be used in a non-editiable combo
box.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps