edu.uci.ics.jung.visualization
Class RandomVertexLocationDecorator
java.lang.Object
edu.uci.ics.jung.visualization.RandomVertexLocationDecorator
- All Implemented Interfaces:
- VertexLocationFunction
public class RandomVertexLocationDecorator
- extends Object
- implements VertexLocationFunction
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomVertexLocationDecorator
public RandomVertexLocationDecorator(Dimension d)
RandomVertexLocationDecorator
public RandomVertexLocationDecorator(Dimension d,
int seed)
reset
public void reset()
- Resets all vertex locations returned by
getLocation
to new (random) locations.
getLocation
public Point2D getLocation(ArchetypeVertex v)
- Specified by:
getLocation
in interface VertexLocationFunction
getVertexIterator
public Iterator getVertexIterator()
- Specified by:
getVertexIterator
in interface VertexLocationFunction