public class ComboBoxColorCellRenderer extends Object implements ListCellRenderer<Color>
| Modifier and Type | Field and Description |
|---|---|
static Dimension |
PREFERRED_SIZE |
| Constructor and Description |
|---|
ComboBoxColorCellRenderer() |
| Modifier and Type | Method and Description |
|---|---|
Component |
getListCellRendererComponent(JList<? extends Color> list,
Color value,
int index,
boolean isSelected,
boolean cellHasFocus) |
public static final Dimension PREFERRED_SIZE
public Component getListCellRendererComponent(JList<? extends Color> list, Color value, int index, boolean isSelected, boolean cellHasFocus)
getListCellRendererComponent in interface ListCellRenderer<Color>Copyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.