edu.uci.ics.jung.graph.decorators
Class EdgeWeightLabellerStringer
java.lang.Object
edu.uci.ics.jung.graph.decorators.EdgeWeightLabellerStringer
- All Implemented Interfaces:
- EdgeStringer
public class EdgeWeightLabellerStringer
- extends Object
- implements EdgeStringer
An EdgeStringer provides a string Label for any edge: the
String is the Weight produced by the EdgeWeightLabeller that
it takes as input.
- Author:
- danyelf
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ewl
protected EdgeWeightLabeller ewl
numberFormat
protected NumberFormat numberFormat
EdgeWeightLabellerStringer
public EdgeWeightLabellerStringer(EdgeWeightLabeller ewl)
prepareNumberFormat
protected NumberFormat prepareNumberFormat()
getLabel
public String getLabel(ArchetypeEdge e)
- Specified by:
getLabel
in interface EdgeStringer
- See Also:
EdgeStringer.getLabel(ArchetypeEdge)