org.strbio.util.graph
Class UnfilledCirclePoint

java.lang.Object
  extended by org.strbio.util.graph.UnfilledCirclePoint
All Implemented Interfaces:
PointType

public class UnfilledCirclePoint
extends java.lang.Object
implements PointType

A point type that paints circles.

  Version 1.0, 5/17/99 - original version.
  

Version:
1.0, 5/17/99
Author:
JMC

Constructor Summary
UnfilledCirclePoint(int radius)
          need radius of the point to draw
 
Method Summary
 int getHeight()
          Get the height that the point wants to take up.
 int getWidth()
          Get the width that the point wants to take up.
 void paintPointAt(int x, int y, java.awt.Graphics g)
          draw the point, at a given center position.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnfilledCirclePoint

public UnfilledCirclePoint(int radius)
need radius of the point to draw

Method Detail

getWidth

public int getWidth()
Get the width that the point wants to take up.

Specified by:
getWidth in interface PointType

getHeight

public int getHeight()
Get the height that the point wants to take up.

Specified by:
getHeight in interface PointType

paintPointAt

public void paintPointAt(int x,
                         int y,
                         java.awt.Graphics g)
draw the point, at a given center position.

Specified by:
paintPointAt in interface PointType