com.googlecode.sarasvati.visual.icon
Class AbstractNodeIcon
java.lang.Object
com.googlecode.sarasvati.visual.icon.AbstractNodeIcon
- All Implemented Interfaces:
- Icon
- Direct Known Subclasses:
- OvalNodeIcon, RectangularNodeIcon, SmallCircleNodeIcon
public abstract class AbstractNodeIcon
- extends Object
- implements Icon
WIDTH
public static final int WIDTH
- See Also:
- Constant Field Values
HEIGHT
public static final int HEIGHT
AbstractNodeIcon
public AbstractNodeIcon()
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface Icon
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface Icon
paintIcon
public void paintIcon(Component c,
Graphics g,
int x,
int y)
- Specified by:
paintIcon
in interface Icon
redrawImage
public void redrawImage()
redrawImage
public abstract void redrawImage(Graphics2D g)