Class FastRenderingLayout<V,E>
java.lang.Object
edu.uci.ics.jung.visualization.spatial.FastRenderingLayout<V,E>
- Type Parameters:
V- the vertex typeE- the edge type
- All Implemented Interfaces:
com.google.common.base.Function<V,Point2D>, Layout<V, E>, Function<V, Point2D>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGraph()getSize()voidInitializes fields in the node that may not have been set during the constructor.booleanvoidLocks or unlocks the specified vertex.voidreset()voidvoidsetInitializer(com.google.common.base.Function<V, Point2D> initializer) voidsetLocation(V v, Point2D location) Changes the layout coordinates ofvtolocation.voidMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.common.base.Function
equals
-
Field Details
-
layout
-
graph
-
grid
-
-
Constructor Details
-
FastRenderingLayout
-
-
Method Details
-
getGraph
-
getSize
-
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.- Specified by:
initializein interfaceLayout<V,E>
-
isLocked
-
lock
Description copied from interface:LayoutLocks or unlocks the specified vertex. Locking the vertex fixes it at its current position, so that it will not be affected by the layout algorithm. Unlocking it allows the layout algorithm to change the vertex's position. -
reset
-
setGraph
-
setInitializer
-
setLocation
Description copied from interface:LayoutChanges the layout coordinates ofvtolocation.- Specified by:
setLocationin interfaceLayout<V,E> - Parameters:
v- the vertex whose location is to be specifiedlocation- the coordinates of the specified location
-
setSize
-
apply
-