org.grinvin.list
Class GraphListElementRenderer
DefaultListCellRendererorg.grinvin.list.GraphListElementRenderer
public class GraphListElementRenderer
extends DefaultListCellRenderer
Component | getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)- Renders a graph list element as a combination of icon and graph name.
|
GraphListElementRenderer
public GraphListElementRenderer()
Default constructor
getListCellRendererComponent
public Component getListCellRendererComponent(JList list,
Object value,
int index,
boolean isSelected,
boolean cellHasFocus) Renders a graph list element as a combination of icon and graph name. The
icon depends on the 'type' of graph element (factory generated, uri, ...).