Package org.jungrapht.visualization.util
Class LayoutAlgorithmTransition
- java.lang.Object
-
- org.jungrapht.visualization.util.LayoutAlgorithmTransition
-
public class LayoutAlgorithmTransition extends Object
Manages the transition to a new LayoutAlgorithm. The transition can me animated or immediate. The view side has a reference to the VisualizationServer so that it can manage activity of the Spatial structures during the transition. Typically, they are turned off until the transition is complete to minimize unnecessary work.
-
-
Constructor Summary
Constructors Constructor Description LayoutAlgorithmTransition()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <V,E>
voidanimate(VisualizationServer<V,E> visualizationServer, LayoutAlgorithm<V> endLayoutAlgorithm)
static <V,E>
voidanimate(VisualizationServer<V,E> visualizationServer, LayoutAlgorithm<V> endLayoutAlgorithm, Runnable after)
static <V,E>
voidapply(VisualizationServer<V,E> visualizationServer, LayoutAlgorithm<V> endLayoutAlgorithm)
static <V,E>
voidapply(VisualizationServer<V,E> visualizationServer, LayoutAlgorithm<V> endLayoutAlgorithm, Runnable after)
-
-
-
Method Detail
-
animate
public static <V,E> void animate(VisualizationServer<V,E> visualizationServer, LayoutAlgorithm<V> endLayoutAlgorithm)
-
animate
public static <V,E> void animate(VisualizationServer<V,E> visualizationServer, LayoutAlgorithm<V> endLayoutAlgorithm, Runnable after)
-
apply
public static <V,E> void apply(VisualizationServer<V,E> visualizationServer, LayoutAlgorithm<V> endLayoutAlgorithm, Runnable after)
-
apply
public static <V,E> void apply(VisualizationServer<V,E> visualizationServer, LayoutAlgorithm<V> endLayoutAlgorithm)
-
-