public class BasicStyleListCellRenderer extends Object implements ListCellRenderer
| Modifier and Type | Field and Description |
|---|---|
protected ColorPanel |
colorPanel |
protected DefaultListCellRenderer |
defaultListCellRenderer |
| Constructor and Description |
|---|
BasicStyleListCellRenderer() |
| Modifier and Type | Method and Description |
|---|---|
Component |
getListCellRendererComponent(JList list,
Object value,
int index,
boolean isSelected,
boolean cellHasFocus) |
void |
setAlpha(int alpha) |
protected void |
setColorPanelSize(Dimension d) |
protected ColorPanel colorPanel
protected DefaultListCellRenderer defaultListCellRenderer
protected void setColorPanelSize(Dimension d)
public void setAlpha(int alpha)
public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
getListCellRendererComponent in interface ListCellRendererCopyright © 2015. All rights reserved.