Class AbstractLayoutModel.Builder<V,T extends AbstractLayoutModel<V>,B extends AbstractLayoutModel.Builder<V,T,B>>
- java.lang.Object
-
- org.jungrapht.visualization.layout.model.AbstractLayoutModel.Builder<V,T,B>
-
- Direct Known Subclasses:
LayoutModel.Builder
- Enclosing class:
- AbstractLayoutModel<V>
public abstract static class AbstractLayoutModel.Builder<V,T extends AbstractLayoutModel<V>,B extends AbstractLayoutModel.Builder<V,T,B>> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected booleancreateVisRunnableprotected org.jgrapht.Graph<V,?>graphprotected intheightprotected Function<org.jgrapht.Graph<V,?>,Pair<Integer>>initialDimensionFunctionprotected intwidth
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BcreateVisRunnable(boolean createVisRunnable)Bgraph(org.jgrapht.Graph<V,?> graph)Bheight(int height)BinitialDimensionFunction(Function<org.jgrapht.Graph<V,?>,Pair<Integer>> initialDimensionFunction)Bsize(int width, int height)Bwidth(int width)
-
-
-
Method Detail
-
size
public B size(int width, int height)
-
width
public B width(int width)
-
height
public B height(int height)
-
initialDimensionFunction
public B initialDimensionFunction(Function<org.jgrapht.Graph<V,?>,Pair<Integer>> initialDimensionFunction)
-
createVisRunnable
public B createVisRunnable(boolean createVisRunnable)
-
-