Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Field Summary
`protected EdgeWeightLabeller` | `ewl`
`protected NumberFormat` | `numberFormat`

Constructor Summary
`EdgeWeightLabellerStringer(EdgeWeightLabeller ewl)`

Method Summary
`String` | `getLabel(ArchetypeEdge e)`
`protected NumberFormat` | `prepareNumberFormat()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### ewl

    protected EdgeWeightLabeller ewl

### numberFormat

    protected NumberFormat numberFormat

Constructor Detail

### EdgeWeightLabellerStringer

    public EdgeWeightLabellerStringer(EdgeWeightLabeller ewl)

Method Detail

### prepareNumberFormat

    protected NumberFormat prepareNumberFormat()

### getLabel

    public String getLabel(ArchetypeEdge e)

  Specified by:
    `getLabel` in interface `EdgeStringer`
  See Also:
    `EdgeStringer.getLabel(ArchetypeEdge)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD