org.metaqtl.graph
Class GraphShape

java.lang.Object
  extended by org.metaqtl.graph.GraphShape
Direct Known Subclasses:
ChromShape, QtlShape

public abstract class GraphShape
extends java.lang.Object


Field Summary
protected  double height
           
protected  double width
           
protected  double x
           
protected  double y
           
 
Constructor Summary
GraphShape()
           
 
Method Summary
abstract  void buildShape(java.awt.Graphics2D graph, java.lang.Object object)
           
abstract  void draw(java.awt.Graphics2D graph)
          Draws the shape.
 double getHeight()
           
 double getWidth()
           
abstract  double getYMax()
           
abstract  double getYMin()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

protected double x

y

protected double y

height

protected double height

width

protected double width
Constructor Detail

GraphShape

public GraphShape()
Method Detail

buildShape

public abstract void buildShape(java.awt.Graphics2D graph,
                                java.lang.Object object)

draw

public abstract void draw(java.awt.Graphics2D graph)
Draws the shape.

Parameters:
graph -

getHeight

public double getHeight()

getWidth

public double getWidth()

getYMin

public abstract double getYMin()

getYMax

public abstract double getYMax()