Package org.jungrapht.samples.util
Class LayoutFunction<V>
- java.lang.Object
-
- org.jungrapht.samples.util.LayoutFunction<V>
-
- All Implemented Interfaces:
Function<String,LayoutAlgorithm.Builder<V,LayoutAlgorithm<V>,?>>
- Direct Known Subclasses:
LayoutFunction.FullLayoutFunction
public class LayoutFunction<V> extends Object implements Function<String,LayoutAlgorithm.Builder<V,LayoutAlgorithm<V>,?>>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLayoutFunction.FullLayoutFunction<V,E>static classLayoutFunction.Layout<V>
-
Constructor Summary
Constructors Constructor Description LayoutFunction(LayoutFunction.Layout<V>... layouts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LayoutAlgorithm.Builder<V,LayoutAlgorithm<V>,?>apply(String s)Collection<String>getNames()
-
-
-
Constructor Detail
-
LayoutFunction
public LayoutFunction(LayoutFunction.Layout<V>... layouts)
-
-
Method Detail
-
getNames
public Collection<String> getNames()
-
apply
public LayoutAlgorithm.Builder<V,LayoutAlgorithm<V>,?> apply(String s)
- Specified by:
applyin interfaceFunction<String,LayoutAlgorithm.Builder<V,LayoutAlgorithm<V>,?>>
-
-