| Package | Description |
|---|---|
| javax.swing | |
| javax.swing.plaf.basic | |
| javax.swing.plaf.metal | |
| javax.swing.plaf.synth |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultListCellRenderer
Renders an item in a list.
|
static class |
DefaultListCellRenderer.UIResource
A subclass of DefaultListCellRenderer that implements UIResource.
|
| Modifier and Type | Field and Description |
|---|---|
protected ListCellRenderer<? super E> |
JComboBox.renderer
This protected field is implementation specific.
|
| Modifier and Type | Method and 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 and 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 and Description |
|---|---|
class |
BasicComboBoxRenderer
ComboBox renderer
|
static class |
BasicComboBoxRenderer.UIResource
A subclass of BasicComboBoxRenderer that implements UIResource.
|
| Modifier and Type | Method and Description |
|---|---|
protected ListCellRenderer |
BasicComboBoxUI.createRenderer()
Creates the default renderer that will be used in a non-editiable combo
box.
|
| 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.FileRenderer |
class |
MetalFileChooserUI.FilterComboBoxRenderer
Render different type sizes and styles.
|
| Modifier and Type | Method and Description |
|---|---|
protected ListCellRenderer |
SynthComboBoxUI.createRenderer()
Creates the default renderer that will be used in a non-editiable 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.