|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.bioinfweb.treegraph.document.format.adapters.distance.AbstractLegendAdapter
public abstract class AbstractLegendAdapter
This class is the superclass of all distance adapters which have emty implementations of their methods and are only used to be selectable items in an adapter list.
| Constructor Summary | |
|---|---|
AbstractLegendAdapter()
|
|
| Method Summary | |
|---|---|
float |
getDistance(Node node)
This method always returns Float.NaN. |
abstract DistanceValue |
getDistanceValue(LegendFormats formats)
|
void |
setDistance(float distance,
Node node)
This method does nothing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractLegendAdapter()
| Method Detail |
|---|
public float getDistance(Node node)
Float.NaN.
getDistance in interface DistanceAdapternode - - the node to get the distance value from
DistanceAdapter.getDistance(info.bioinfweb.treegraph.document.Node)
public void setDistance(float distance,
Node node)
setDistance in interface DistanceAdapterdistance - - the new distance value in millimetersDistanceAdapter.setDistance(float, info.bioinfweb.treegraph.document.Node)public abstract DistanceValue getDistanceValue(LegendFormats formats)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||