org.grinvin.gui.components.render
Class AbstractGrinvinCellListCellRenderer
DefaultCellListCellRenderer
org.grinvin.gui.components.render.AbstractGrinvinCellListCellRenderer
public abstract class AbstractGrinvinCellListCellRenderer
extends DefaultCellListCellRenderer
Cell list cell renderer which is used by most cell lists in Grinvin.
String getToolTipText
public @Override String getToolTipText(CellList list,
Object value,
int index)
getDescription
protected abstract String getDescription(Object value)
getIcon
protected SelectUnselectIcon getIcon(Object value,
int cellWidth,
int cellHeight)
Retrieve the graph icon for the given graph bundle and size
getIconBackgroundColor
protected abstract Color getIconBackgroundColor(Object value)
getName
protected abstract String getName(Object value)
void prepare
protected @Override void prepare(CellList list,
Object value,
int index,
boolean isSelected,
boolean cellHasFocus)