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 ConstantEdgeStringer

    java.lang.Object
      edu.uci.ics.jung.graph.decorators.ConstantEdgeStringer

All Implemented Interfaces:
  EdgeStringer

public class ConstantEdgeStringer
extends Object
implements EdgeStringer

Returns the specified label for all edges. Useful for specifying "no label".

Author:
  Joshua O'Madadhain

Field Summary
`protected String` | `label`

Constructor Summary
`ConstantEdgeStringer(String label)`

Method Summary
`String` | `getLabel(ArchetypeEdge e)`

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

Field Detail

### label

    protected String label

Constructor Detail

### ConstantEdgeStringer

    public ConstantEdgeStringer(String label)

Method Detail

### getLabel

    public String getLabel(ArchetypeEdge e)

  Specified by:
    `getLabel` in interface `EdgeStringer`

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