org.grinvin.gui.icons

Class MissingGraphIcon

Implemented Interfaces:
GraphIcon, Icon, SelectUnselectIcon

public class MissingGraphIcon
extends AbstractGraphIcon

Icon that represents a missing graph that could not be loaded.

Field Summary

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

selected

Constructor Summary

MissingGraphIcon(GraphBundleView bundle, int size)
Creates a new instance of MissingGraphIcon

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

MissingGraphIcon

public MissingGraphIcon(GraphBundleView bundle,
                        int size)
Creates a new instance of MissingGraphIcon

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