Class AbstractModalGraphMouse.Builder<T extends AbstractModalGraphMouse,B extends AbstractModalGraphMouse.Builder<T,B>>
- java.lang.Object
-
- org.jungrapht.visualization.control.AbstractGraphMouse.Builder<T,B>
-
- org.jungrapht.visualization.control.AbstractModalGraphMouse.Builder<T,B>
-
- Type Parameters:
T
-B
-
- Direct Known Subclasses:
AnnotatingModalGraphMouse.Builder
,DefaultModalGraphMouse.Builder
,EditingModalGraphMouse.Builder
- Enclosing class:
- AbstractModalGraphMouse
public abstract static class AbstractModalGraphMouse.Builder<T extends AbstractModalGraphMouse,B extends AbstractModalGraphMouse.Builder<T,B>> extends AbstractGraphMouse.Builder<T,B>
Configure an instance of an AbstractModalGraphMouse
-
-
Field Summary
Fields Modifier and Type Field Description protected Modal.Mode
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 Abstract Methods Concrete Methods Modifier and Type Method Description abstract T
build()
AbstractModalGraphMouse.Builder
mode(Modal.Mode mode)
-
Methods inherited from class org.jungrapht.visualization.control.AbstractGraphMouse.Builder
in, out, self, vertexSelectionOnly
-
-
-
-
Field Detail
-
mode
protected Modal.Mode mode
-
-
Method Detail
-
mode
public AbstractModalGraphMouse.Builder mode(Modal.Mode mode)
-
build
public abstract T build()
- Specified by:
build
in classAbstractGraphMouse.Builder<T extends AbstractModalGraphMouse,B extends AbstractModalGraphMouse.Builder<T,B>>
-
-