|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.metaqtl.graph.AnchoredElement
org.metaqtl.graph.Layer
org.metaqtl.graph.QtlLayer
public class QtlLayer
Field Summary | |
---|---|
static double |
CI_WIDTH
The default width of the CI of the Qtl |
QtlShape[] |
qtlShapes
The Qtl shapes. |
static double |
TEXT_WIDTH
The default width of the Text attribute of the Qtl |
static double |
TICK_CEX_HEIGHT
The default cex parameter for the tick height of the Qtl |
static double |
TICK_CEX_WIDTH
The default cex parameter for the tick width of the Qtl |
Fields inherited from class org.metaqtl.graph.Layer |
---|
height, width |
Fields inherited from class org.metaqtl.graph.AnchoredElement |
---|
x, y |
Constructor Summary | |
---|---|
QtlLayer(double x,
double y)
|
Method Summary | |
---|---|
void |
attach(java.lang.Object object)
Attach the given object to the layer. |
void |
build(java.awt.Graphics2D graph)
Build the layer. |
void |
draw(java.awt.Graphics2D graph)
Draws the layer on the given graph context. |
double |
getYMax()
|
double |
getYMin()
|
Methods inherited from class org.metaqtl.graph.Layer |
---|
getHeight, getWidth |
Methods inherited from class org.metaqtl.graph.AnchoredElement |
---|
getX, getY, setX, setY |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static double CI_WIDTH
public static double TICK_CEX_HEIGHT
public static double TICK_CEX_WIDTH
public static double TEXT_WIDTH
public QtlShape[] qtlShapes
Constructor Detail |
---|
public QtlLayer(double x, double y)
x
- y
- size
- type
- Method Detail |
---|
public void draw(java.awt.Graphics2D graph)
Layer
graph
context.
draw
in class Layer
public void build(java.awt.Graphics2D graph)
Layer
build
in class Layer
public void attach(java.lang.Object object)
Layer
object
to the layer.
attach
in class Layer
object
- the object to attach to the layer.public double getYMin()
getYMin
in class Layer
public double getYMax()
getYMax
in class Layer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |