edu.uci.ics.jung.graph.decorators
Class ConstantVertexStringer
java.lang.Object
edu.uci.ics.jung.graph.decorators.ConstantVertexStringer
- All Implemented Interfaces:
- VertexStringer
public class ConstantVertexStringer
- extends Object
- implements VertexStringer
Returns the specified label for all vertices. 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
ConstantVertexStringer
public ConstantVertexStringer(String label)
getLabel
public String getLabel(ArchetypeVertex v)
- Specified by:
getLabel
in interface VertexStringer
- See Also:
VertexStringer.getLabel(ArchetypeVertex)