public class BasicStyleListCellRenderer
extends java.lang.Object
implements javax.swing.ListCellRenderer
Modifier and Type | Field and Description |
---|---|
protected ColorPanel |
colorPanel |
protected javax.swing.DefaultListCellRenderer |
defaultListCellRenderer |
Constructor and Description |
---|
BasicStyleListCellRenderer() |
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
getListCellRendererComponent(javax.swing.JList list,
java.lang.Object value,
int index,
boolean isSelected,
boolean cellHasFocus) |
void |
setAlpha(int alpha) |
protected void |
setColorPanelSize(java.awt.Dimension d) |
void |
setLineWidth(int lineWidth) |
protected ColorPanel colorPanel
protected javax.swing.DefaultListCellRenderer defaultListCellRenderer
protected void setColorPanelSize(java.awt.Dimension d)
public void setAlpha(int alpha)
public void setLineWidth(int lineWidth)
public java.awt.Component getListCellRendererComponent(javax.swing.JList list, java.lang.Object value, int index, boolean isSelected, boolean cellHasFocus)
getListCellRendererComponent
in interface javax.swing.ListCellRenderer