Class CircleLayoutAlgorithm.Builder<V,T extends CircleLayoutAlgorithm<V>,B extends CircleLayoutAlgorithm.Builder<V,T,B>>
- java.lang.Object
-
- org.jungrapht.visualization.layout.algorithms.CircleLayoutAlgorithm.Builder<V,T,B>
-
- All Implemented Interfaces:
LayoutAlgorithm.Builder<V,T,B>
- Enclosing class:
- CircleLayoutAlgorithm<V>
public static class CircleLayoutAlgorithm.Builder<V,T extends CircleLayoutAlgorithm<V>,B extends CircleLayoutAlgorithm.Builder<V,T,B>> extends Object implements LayoutAlgorithm.Builder<V,T,B>
-
-
Field Summary
Fields Modifier and Type Field Description protected Runnable
after
protected Executor
executor
protected int
radius
protected boolean
reduceEdgeCrossing
protected int
reduceEdgeCrossingMaxEdges
protected boolean
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
executor(Executor executor)
B
radius(int radius)
B
reduceEdgeCrossing(boolean reduceEdgeCrossing)
B
reduceEdgeCrossingMaxEdges(int reduceEdgeCrossingMaxEdges)
B
threaded(boolean threaded)
-
-
-
Method Detail
-
radius
public B radius(int radius)
-
reduceEdgeCrossingMaxEdges
public B reduceEdgeCrossingMaxEdges(int reduceEdgeCrossingMaxEdges)
-
reduceEdgeCrossing
public B reduceEdgeCrossing(boolean reduceEdgeCrossing)
-
threaded
public B threaded(boolean threaded)
-
build
public T build()
- Specified by:
build
in interfaceLayoutAlgorithm.Builder<V,T extends CircleLayoutAlgorithm<V>,B extends CircleLayoutAlgorithm.Builder<V,T,B>>
-
-