Class StaticLayout<V,E>
java.lang.Object
edu.uci.ics.jung.algorithms.layout.AbstractLayout<V,E>
edu.uci.ics.jung.algorithms.layout.StaticLayout<V,E>
- All Implemented Interfaces:
com.google.common.base.Function<V,,Point2D> Layout<V,,E> Function<V,Point2D>
StaticLayout places the vertices in the locations specified by its initializer,
and has no other behavior.
Vertex locations can be placed in a
Map<V,Point2D> and then supplied to
this layout as follows: Function<V,Point2D> vertexLocations = Functions.forMap(map);- Author:
- Tom Nelson - tomnelson@dev.java.net
-
Field Summary
Fields inherited from class edu.uci.ics.jung.algorithms.layout.AbstractLayout
graph, initialized, locations, size -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInitializes fields in the node that may not have been set during the constructor.voidreset()Methods inherited from class edu.uci.ics.jung.algorithms.layout.AbstractLayout
apply, getGraph, getSize, getX, getY, isLocked, lock, lock, offsetVertex, setGraph, setInitializer, setLocation, setLocation, setSizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.common.base.Function
equals
-
Constructor Details
-
StaticLayout
-
StaticLayout
-
StaticLayout
-
StaticLayout
-
-
Method Details
-
initialize
public void initialize()Description copied from interface:LayoutInitializes fields in the node that may not have been set during the constructor. Must be called before the iterations begin. -
reset
public void reset()
-