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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
label
protected String label
ConstantEdgeStringer
public ConstantEdgeStringer(String label)
getLabel
public String getLabel(ArchetypeEdge e)
- Specified by:
getLabel
in interface EdgeStringer