Class AnnotatingModalGraphMouse.Builder<V,E,T extends AnnotatingModalGraphMouse,B extends AnnotatingModalGraphMouse.Builder<V,E,T,B>>
- java.lang.Object
-
- org.jungrapht.visualization.control.AbstractGraphMouse.Builder<T,B>
-
- org.jungrapht.visualization.control.AbstractModalGraphMouse.Builder<T,B>
-
- org.jungrapht.visualization.annotations.AnnotatingModalGraphMouse.Builder<V,E,T,B>
-
- Type Parameters:
V
-E
-T
-B
-
- Enclosing class:
- AnnotatingModalGraphMouse<V,E>
public static class AnnotatingModalGraphMouse.Builder<V,E,T extends AnnotatingModalGraphMouse,B extends AnnotatingModalGraphMouse.Builder<V,E,T,B>> extends AbstractModalGraphMouse.Builder<T,B>
Build an instance of a EditingModalGraphMouse
-
-
Field Summary
Fields Modifier and Type Field Description protected AnnotatingGraphMousePlugin<V,E>
annotatingPlugin
protected Supplier<MultiLayerTransformer>
multiLayerTransformerSupplier
-
Fields inherited from class org.jungrapht.visualization.control.AbstractModalGraphMouse.Builder
mode
-
Fields inherited from class org.jungrapht.visualization.control.AbstractGraphMouse.Builder
addToSelectionMask, in, out, selectionMask, vertexSelectionOnly
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B
annotatingPlugin(AnnotatingGraphMousePlugin<V,E> annotatingGraphMousePlugin)
T
build()
B
multiLayerTransformerSupplier(Supplier<MultiLayerTransformer> multiLayerTransformerSupplier)
-
Methods inherited from class org.jungrapht.visualization.control.AbstractModalGraphMouse.Builder
mode
-
Methods inherited from class org.jungrapht.visualization.control.AbstractGraphMouse.Builder
in, out, self, vertexSelectionOnly
-
-
-
-
Field Detail
-
multiLayerTransformerSupplier
protected Supplier<MultiLayerTransformer> multiLayerTransformerSupplier
-
annotatingPlugin
protected AnnotatingGraphMousePlugin<V,E> annotatingPlugin
-
-
Method Detail
-
multiLayerTransformerSupplier
public B multiLayerTransformerSupplier(Supplier<MultiLayerTransformer> multiLayerTransformerSupplier)
-
annotatingPlugin
public B annotatingPlugin(AnnotatingGraphMousePlugin<V,E> annotatingGraphMousePlugin)
-
build
public T build()
- Specified by:
build
in classAbstractModalGraphMouse.Builder<T extends AnnotatingModalGraphMouse,B extends AnnotatingModalGraphMouse.Builder<V,E,T,B>>
-
-