com.googlecode.sarasvati.visual.icon
Class SmallCircleNodeIcon

java.lang.Object
  extended by com.googlecode.sarasvati.visual.icon.AbstractNodeIcon
      extended by com.googlecode.sarasvati.visual.icon.SmallCircleNodeIcon
All Implemented Interfaces:
Icon

public class SmallCircleNodeIcon
extends AbstractNodeIcon


Field Summary
protected  Color color
           
protected  boolean isJoin
           
protected  boolean isSelected
           
 
Fields inherited from class com.googlecode.sarasvati.visual.icon.AbstractNodeIcon
HEIGHT, image, WIDTH
 
Constructor Summary
SmallCircleNodeIcon()
           
SmallCircleNodeIcon(Color color, boolean isJoin, boolean isSelected)
           
 
Method Summary
 int getIconWidth()
           
 void redrawImage(Graphics2D g)
           
 
Methods inherited from class com.googlecode.sarasvati.visual.icon.AbstractNodeIcon
getIconHeight, paintIcon, redrawImage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

color

protected final Color color

isJoin

protected final boolean isJoin

isSelected

protected final boolean isSelected
Constructor Detail

SmallCircleNodeIcon

public SmallCircleNodeIcon()

SmallCircleNodeIcon

public SmallCircleNodeIcon(Color color,
                           boolean isJoin,
                           boolean isSelected)
Method Detail

redrawImage

public void redrawImage(Graphics2D g)
Specified by:
redrawImage in class AbstractNodeIcon

getIconWidth

public int getIconWidth()
Specified by:
getIconWidth in interface Icon
Overrides:
getIconWidth in class AbstractNodeIcon


Copyright © 2012. All Rights Reserved.