edu.uci.ics.jung.visualization.decorators
Class ToStringLabeller<V>

java.lang.Object
  extended by 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

Constructor Summary
ToStringLabeller()
           
 
Method Summary
 String transform(V v)
          Retunrs v.toString()
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToStringLabeller

public ToStringLabeller()
Method Detail

transform

public String transform(V v)
Retunrs v.toString()



Copyright © 2010 null. All Rights Reserved.