org.grinvin.gui.components.render

Class GraphGeneratorCellRenderer


public class GraphGeneratorCellRenderer
extends AbstractGrinvinCellListCellRenderer

Renderer to render GraphGenerator objects in a be.ugent.caagt.swirl.lists.CellList.

Method Summary

SelectUnselectIcon
createIcon(Object value, int size)
protected String
getDescription(Object value)
protected Color
getIconBackgroundColor(Object value)
Returns the standard icon background color for graph generators.
static GraphGeneratorCellRenderer
getInstance()
Return the singleton instance of this type.
protected String
getName(Object value)

Methods inherited from class org.grinvin.gui.components.render.AbstractGrinvinCellListCellRenderer

String getToolTipText, createIcon, getDescription, getIcon, getIconBackgroundColor, getName, void prepare

Method Details

createIcon

public SelectUnselectIcon createIcon(Object value,
                                     int size)
Overrides:
createIcon in interface AbstractGrinvinCellListCellRenderer

getDescription

protected String getDescription(Object value)
Overrides:
getDescription in interface AbstractGrinvinCellListCellRenderer

getIconBackgroundColor

protected Color getIconBackgroundColor(Object value)
Returns the standard icon background color for graph generators.
Overrides:
getIconBackgroundColor in interface AbstractGrinvinCellListCellRenderer

getInstance

public static GraphGeneratorCellRenderer getInstance()
Return the singleton instance of this type.

getName

protected String getName(Object value)
Overrides:
getName in interface AbstractGrinvinCellListCellRenderer