Home / Development / Documentation / 2.0.44 / DistanceAdapter
TreeGraph 2
 


info.bioinfweb.treegraph.document.format.adapters.distance
Interface DistanceAdapter

All Known Implementing Classes:
AbstractDistanceValueAdapter, AbstractIconLabelDistanceAdapter, AbstractLabelDistanceAdapter, AbstractLegendAdapter, BranchLineWidthAdapter, BranchMinLengthAdapter, BranchSpaceAboveAdapter, BranchSpaceBelowAdapter, CornerRadiusAdapter, IconHeightAdapter, IconWidthAdapter, LabelMarginBottomAdapter, LabelMarginLeftAdapter, LabelMarginRightAdapter, LabelMarginTopAdapter, LabelTextHeightAdapter, LeafMarginBottomAdapter, LeafMarginLeftAdapter, LeafMarginRightAdapter, LeafMarginTopAdapter, LegendLineWidthAdapter, LegendMarginBottomAdapter, LegendMarginLeftAdapter, LegendMarginRightAdapter, LegendMarginTopAdapter, LegendSpacingAdapter, LegendTextHeightAdapter, NodeLineWidthAdapter, NodeTextHeightAdapter

public interface DistanceAdapter

Since:
2.0.23
Author:
Ben Stöver

Method Summary
 float getDistance(Node node)
          Returns the distance value in millimeters
 void setDistance(float distance, Node node)
           
 

Method Detail

setDistance

void setDistance(float distance,
                 Node node)
Parameters:
distance - the new distance value in millimeters
node -

getDistance

float getDistance(Node node)
Returns the distance value in millimeters

Parameters:
node - the node to get the distance value from
Returns: