|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.metaqtl.graph.GraphShape
org.metaqtl.graph.QtlShape
public class QtlShape
Field Summary | |
---|---|
double |
ci_height
|
double |
ci_width
|
double |
y_from
|
double |
y_pos
|
Fields inherited from class org.metaqtl.graph.GraphShape |
---|
height, width, x, y |
Constructor Summary | |
---|---|
QtlShape()
|
Method Summary | |
---|---|
void |
buildShape(java.awt.Graphics2D graph,
java.lang.Object object)
This methods create a new QtlShape from the given graphics context. |
void |
draw(java.awt.Graphics2D graph)
Draws the shape. |
double |
getHeigth()
|
double |
getWidth()
|
static double |
getYDistance(QtlShape s1,
QtlShape s2)
Computes the distance between two Qtl shapes assuming along the same axe Y (i.e the shapes have same X). |
double |
getYMax()
|
double |
getYMin()
|
Methods inherited from class org.metaqtl.graph.GraphShape |
---|
getHeight |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public double y_pos
public double y_from
public double ci_height
public double ci_width
Constructor Detail |
---|
public QtlShape()
Method Detail |
---|
public void buildShape(java.awt.Graphics2D graph, java.lang.Object object)
buildShape
in class GraphShape
graph
- font
- unit
- public void draw(java.awt.Graphics2D graph)
GraphShape
draw
in class GraphShape
public double getHeigth()
public double getWidth()
getWidth
in class GraphShape
public double getYMin()
getYMin
in class GraphShape
public double getYMax()
getYMax
in class GraphShape
public static double getYDistance(QtlShape s1, QtlShape s2)
shape
- prev
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |