edu.uci.ics.jung.visualization
Class DefaultSettableVertexLocationFunction
java.lang.Object
edu.uci.ics.jung.visualization.DefaultSettableVertexLocationFunction
- All Implemented Interfaces:
- SettableVertexLocationFunction, VertexLocationFunction
public class DefaultSettableVertexLocationFunction
- extends Object
- implements SettableVertexLocationFunction
A Map
-based implementation of
SettableVertexLocationFunction
.
- Author:
- Joshua O'Madadhain
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
v_locations
protected Map v_locations
normalized
protected boolean normalized
DefaultSettableVertexLocationFunction
public DefaultSettableVertexLocationFunction()
DefaultSettableVertexLocationFunction
public DefaultSettableVertexLocationFunction(VertexLocationFunction vlf)
setLocation
public void setLocation(ArchetypeVertex v,
Point2D location)
- Specified by:
setLocation
in interface SettableVertexLocationFunction
getLocation
public Point2D getLocation(ArchetypeVertex v)
- Specified by:
getLocation
in interface VertexLocationFunction
reset
public void reset()
getVertexIterator
public Iterator getVertexIterator()
- Specified by:
getVertexIterator
in interface VertexLocationFunction