org.grinvin.gui.icons

Class LargeGraphIcon

Implemented Interfaces:
GraphIcon, Icon, SelectUnselectIcon

public class LargeGraphIcon
extends AbstractGraphIcon

Graph icon for a graph with a large number of vertices or edges. This icon is available in a single standard size which is suitable for use in cell lists.

Field Summary

Fields inherited from class org.grinvin.gui.icons.AbstractSelectUnselectIcon

selected

Constructor Summary

LargeGraphIcon(GraphView graph, Icon backgroundIcon)

Method Summary

int
getIconHeight()
int
getIconWidth()
void
paintIcon(Component c, Graphics g, int x, int y)

Methods inherited from class org.grinvin.gui.icons.AbstractSelectUnselectIcon

getIconHeight, getIconWidth, isSelected, paintIcon, setSelected

Constructor Details

LargeGraphIcon

public LargeGraphIcon(GraphView graph,
                      Icon backgroundIcon)

Method Details

getIconHeight

public int getIconHeight()
Overrides:
getIconHeight in interface AbstractSelectUnselectIcon

getIconWidth

public int getIconWidth()
Overrides:
getIconWidth in interface AbstractSelectUnselectIcon

paintIcon

public void paintIcon(Component c,
                      Graphics g,
                      int x,
                      int y)
Overrides:
paintIcon in interface AbstractSelectUnselectIcon