Class BrandesKopfLayoutAlgorithm.Builder<V,E,T extends BrandesKopfLayoutAlgorithm<V,E> & EdgeAwareLayoutAlgorithm<V,E>,B extends BrandesKopfLayoutAlgorithm.Builder<V,E,T,B>>
- java.lang.Object
-
- org.jungrapht.samples.sugiyama.test.algorithms.BrandesKopfLayoutAlgorithm.Builder<V,E,T,B>
-
- Type Parameters:
V- the vertex typeE- the edge typeT- the type that is builtB- the builder type
- All Implemented Interfaces:
LayoutAlgorithm.Builder<V,T,B>
- Enclosing class:
- BrandesKopfLayoutAlgorithm<V,E>
public static class BrandesKopfLayoutAlgorithm.Builder<V,E,T extends BrandesKopfLayoutAlgorithm<V,E> & EdgeAwareLayoutAlgorithm<V,E>,B extends BrandesKopfLayoutAlgorithm.Builder<V,E,T,B>> extends Object implements LayoutAlgorithm.Builder<V,T,B>
a Builder to create a configured instance
-
-
Field Summary
Fields Modifier and Type Field Description protected Runnableafterprotected booleanexpandLayoutprotected Function<V,Rectangle>vertexBoundsFunction
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Bafter(Runnable after)Tbuild()BdoDownLeft(boolean doDownLeft)BdoDownRight(boolean doDownRight)BdoUpLeft(boolean doUpLeft)BdoUpRight(boolean doUpRight)BexpandLayout(boolean expandLayout)protected Bself()BvertexBoundsFunction(Function<V,Rectangle> vertexBoundsFunction)
-
-
-
Method Detail
-
self
protected B self()
-
expandLayout
public B expandLayout(boolean expandLayout)
-
doUpLeft
public B doUpLeft(boolean doUpLeft)
-
doUpRight
public B doUpRight(boolean doUpRight)
-
doDownLeft
public B doDownLeft(boolean doDownLeft)
-
doDownRight
public B doDownRight(boolean doDownRight)
-
build
public T build()
- Specified by:
buildin interfaceLayoutAlgorithm.Builder<V,E,T extends BrandesKopfLayoutAlgorithm<V,E> & EdgeAwareLayoutAlgorithm<V,E>>
-
-