edu.uci.ics.jung.visualization.renderers
Class Checkmark

java.lang.Object
  extended by edu.uci.ics.jung.visualization.renderers.Checkmark
All Implemented Interfaces:
Icon

public class Checkmark
extends Object
implements Icon

a simple Icon that draws a checkmark in the lower-right quadrant of its area. Used to draw a checkmark on Picked Vertices.

Author:
Tom Nelson

Constructor Summary
Checkmark()
           
Checkmark(Color color)
           
 
Method Summary
 int getIconHeight()
           
 int getIconWidth()
           
 void paintIcon(Component c, Graphics g, int x, int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Checkmark

public Checkmark()

Checkmark

public Checkmark(Color color)
Method Detail

paintIcon

public void paintIcon(Component c,
                      Graphics g,
                      int x,
                      int y)
Specified by:
paintIcon in interface Icon

getIconWidth

public int getIconWidth()
Specified by:
getIconWidth in interface Icon

getIconHeight

public int getIconHeight()
Specified by:
getIconHeight in interface Icon


Copyright © 2009. All Rights Reserved.