Home / Development / Documentation / 2.0.44 / TreePositioner
TreeGraph 2
 


info.bioinfweb.treegraph.graphics.positionpaint
Interface TreePositioner

All Known Implementing Classes:
PhylogramPositioner, RectangularCladogramPositioner

public interface TreePositioner


Method Summary
 ConcretePaintableElement elementToPosition(Document document, float x, float y, float margin)
          Return the SelectableElement of the tree in which the given coordinates are located.
 void positionAll(Document document, float rescalingFactorX)
           
 

Method Detail

positionAll

void positionAll(Document document,
                 float rescalingFactorX)

elementToPosition

ConcretePaintableElement elementToPosition(Document document,
                                           float x,
                                           float y,
                                           float margin)
Return the SelectableElement of the tree in which the given coordinates are located.

Parameters:
x - x-coordinate
y - y-coordinate
Returns:
The element or null if the given koordinates are located araound the elements.