info.bioinfweb.treegraph.graphics.positionpaint
Interface TreePainter
- All Known Implementing Classes: 
 - PhylogramPainter, RectangularCladogramPainter
 
public interface TreePainter
 
paintTree
void paintTree(Graphics2D g,
               Document document,
               TreeSelection selection,
               float pixelsPerMm,
               boolean transparent)
- Paints the whole specified document.
- Parameters:
 g - the graphics objects used to paintdocument - the document to be paintedselection - a list of the selected elementspixelsPerMm - the scale used for paintingtransparent - determines weather the background should be filled in the background color of the document
 
 
paintTree
void paintTree(Graphics2D g,
               Rectangle visibleRect,
               Document document,
               TreeSelection selection,
               float pixelsPerMm,
               boolean transparent)
- Paints the specified rectangle of the specified document.
- Parameters:
 g - the graphics objects used to paintvisibleRect - the rectangle of the document which is visible (in pixel coordiantes)document - the document to be paintedselection - a list of the selected elementspixelsPerMm - the scale used for paintingtransparent - determines weather the background should be filled in the background color of the document