Home / Development / Documentation / 2.0.44 / PaintableElement
TreeGraph 2
 


info.bioinfweb.treegraph.document
Interface PaintableElement

All Known Subinterfaces:
CornerRadiusElement, LineElement, TextElement, TreeElement
All Known Implementing Classes:
AbstractTextElement, Branch, ConcretePaintableElement, GraphicalLabel, IconLabel, Label, Legend, Node, PieChartLabel, ScaleBar, TextLabel

public interface PaintableElement


Method Summary
 ElementFormats getFormats()
           
 PositionData getPosition(PositionPaintType type)
          Returns the stored DataPosition-object of an for an positioner- identifier.
 void setFormats(ElementFormats format)
           
 

Method Detail

getPosition

PositionData getPosition(PositionPaintType type)
Returns the stored DataPosition-object of an for an positioner- identifier. If no position-object has been stored for this identifier, one will be created.

Parameters:
id - the type of the concrete positioner using this data.
Returns:
the stored position

getFormats

ElementFormats getFormats()

setFormats

void setFormats(ElementFormats format)