edu.uci.ics.jung.visualization.decorators
Class ToStringLabeller<V>
java.lang.Object
edu.uci.ics.jung.visualization.decorators.ToStringLabeller<V>
public class ToStringLabeller<V>
- extends Object
Labels vertices by their toString. This class functions as a drop-in
replacement for the default StringLabeller method. This class does not
guarantee unique labels; or even consistent ones; as a result,
getVertexByLabel will always return NULL.
- Author:
- danyelf
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ToStringLabeller
public ToStringLabeller()
transform
public String transform(V v)
- Retunrs v.toString()
Copyright © 2010 null. All Rights Reserved.