|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.bioinfweb.treegraph.gui.dialogs.specialformats.AbstractLabelAdapter
info.bioinfweb.treegraph.document.format.adapters.distance.AbstractLabelDistanceAdapter
public abstract class AbstractLabelDistanceAdapter
| Constructor Summary | |
|---|---|
AbstractLabelDistanceAdapter(java.lang.String id)
|
|
| Method Summary | |
|---|---|
float |
getDistance(Node node)
Returns the distance value of the label with the specified ID in millimeters. |
protected abstract DistanceValue |
getDistanceValue(LabelFormats formats)
|
void |
setDistance(float distance,
Node node)
|
| Methods inherited from class info.bioinfweb.treegraph.gui.dialogs.specialformats.AbstractLabelAdapter |
|---|
getID, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractLabelDistanceAdapter(java.lang.String id)
| Method Detail |
|---|
protected abstract DistanceValue getDistanceValue(LabelFormats formats)
public float getDistance(Node node)
getDistance in interface DistanceAdapternode -
Float.NaN if no label with this ID exists on the specified nodeDistanceAdapter.getDistance(info.bioinfweb.treegraph.document.Node)
public void setDistance(float distance,
Node node)
setDistance in interface DistanceAdapterdistance - - the new distance value in millimeters
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||