org.strbio.util.graph
Class DotPoint

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

public class DotPoint
extends java.lang.Object
implements PointType

A point type that paints dots.

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

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

Constructor Summary
DotPoint()
           
 
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

DotPoint

public DotPoint()
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