Package org.jungrapht.visualization.util
Class AnimationLayoutAlgorithm.Builder<V,T extends AnimationLayoutAlgorithm<V>,B extends AnimationLayoutAlgorithm.Builder<V,T,B>>
- java.lang.Object
-
- org.jungrapht.visualization.layout.algorithms.AbstractLayoutAlgorithm.Builder<V,T,B>
-
- org.jungrapht.visualization.layout.algorithms.AbstractIterativeLayoutAlgorithm.Builder<V,T,B>
-
- org.jungrapht.visualization.util.AnimationLayoutAlgorithm.Builder<V,T,B>
-
- All Implemented Interfaces:
LayoutAlgorithm.Builder<V,T,B>
- Enclosing class:
- AnimationLayoutAlgorithm<V>
public static class AnimationLayoutAlgorithm.Builder<V,T extends AnimationLayoutAlgorithm<V>,B extends AnimationLayoutAlgorithm.Builder<V,T,B>> extends AbstractIterativeLayoutAlgorithm.Builder<V,T,B> implements LayoutAlgorithm.Builder<V,T,B>
-
-
Field Summary
Fields Modifier and Type Field Description protected Runnable
after
protected LayoutAlgorithm<V>
endLayoutAlgorithm
protected VisualizationServer<V,?>
visualizationServer
-
Fields inherited from class org.jungrapht.visualization.layout.algorithms.AbstractIterativeLayoutAlgorithm.Builder
afterRunnable, executor, preRelaxDurationMs, random, shouldPrerelax, threaded
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B
after(Runnable after)
T
build()
B
endLayoutAlgorithm(LayoutAlgorithm<V> endLayoutAlgorithm)
B
visualizationServer(VisualizationServer<V,?> visualizationServer)
-
Methods inherited from class org.jungrapht.visualization.layout.algorithms.AbstractIterativeLayoutAlgorithm.Builder
afterRunnable, executor, prerelax, preRelaxDuration, randomSeed, self, threaded
-
-
-
-
Field Detail
-
visualizationServer
protected VisualizationServer<V,?> visualizationServer
-
endLayoutAlgorithm
protected LayoutAlgorithm<V> endLayoutAlgorithm
-
after
protected Runnable after
-
-
Method Detail
-
visualizationServer
public B visualizationServer(VisualizationServer<V,?> visualizationServer)
-
endLayoutAlgorithm
public B endLayoutAlgorithm(LayoutAlgorithm<V> endLayoutAlgorithm)
-
after
public B after(Runnable after)
- Overrides:
after
in classAbstractLayoutAlgorithm.Builder<V,T extends AnimationLayoutAlgorithm<V>,B extends AnimationLayoutAlgorithm.Builder<V,T,B>>
-
build
public T build()
- Specified by:
build
in interfaceLayoutAlgorithm.Builder<V,T extends AnimationLayoutAlgorithm<V>,B extends AnimationLayoutAlgorithm.Builder<V,T,B>>
- Specified by:
build
in classAbstractIterativeLayoutAlgorithm.Builder<V,T extends AnimationLayoutAlgorithm<V>,B extends AnimationLayoutAlgorithm.Builder<V,T,B>>
-
-