org.metaqtl.graph
Class QtlLayerBuffer

java.lang.Object
  extended by org.metaqtl.graph.QtlLayerBuffer

public class QtlLayerBuffer
extends java.lang.Object


Constructor Summary
QtlLayerBuffer()
           
 
Method Summary
 boolean addQtl(java.awt.Graphics2D graph, QtlUnit unit)
          Try to add a qtl unit to the configuration.
 boolean canAddMoreQtl(double ymax)
          Retruns true if more Qtl can be added to the configuration, false otherwise.
 QtlLayer getLayer(double x, double y)
          Returns a QtlLayer which represent the contents of the buffer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QtlLayerBuffer

public QtlLayerBuffer()
Method Detail

addQtl

public boolean addQtl(java.awt.Graphics2D graph,
                      QtlUnit unit)
Try to add a qtl unit to the configuration. If the qtl has been adde then the method returns true otherwise it returns false.

Parameters:
graph -
font -
unit -
Returns:

canAddMoreQtl

public boolean canAddMoreQtl(double ymax)
Retruns true if more Qtl can be added to the configuration, false otherwise.

Returns:

getLayer

public QtlLayer getLayer(double x,
                         double y)
Returns a QtlLayer which represent the contents of the buffer.

Returns: