Class ModalLensGraphMouse.Builder<V,E,T extends ModalLensGraphMouse,B extends ModalLensGraphMouse.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.control.DefaultModalGraphMouse.Builder<V,E,T,B>
-
- org.jungrapht.visualization.control.ModalLensGraphMouse.Builder<V,E,T,B>
-
- Type Parameters:
T
-B
-
- Enclosing class:
- ModalLensGraphMouse<V,E>
public static class ModalLensGraphMouse.Builder<V,E,T extends ModalLensGraphMouse,B extends ModalLensGraphMouse.Builder<V,E,T,B>> extends DefaultModalGraphMouse.Builder<V,E,T,B>
Build an instance of a ModalLensGraphMouse
-
-
Field Summary
Fields Modifier and Type Field Description protected int
lensTranslatingMask
protected LensMagnificationGraphMousePlugin
magnificationPlugin
-
Fields inherited from class org.jungrapht.visualization.control.DefaultModalGraphMouse.Builder
addRegionSelectionCompleteMask, addRegionSelectionMask, addSingleSelectionMask, regionSelectionCompleteMask, regionSelectionMask, scalingMask, singleSelectionMask, translatingMask, xAxisScalingMask, yAxisScalingMask
-
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 T
build()
B
lensTranslatingMask(int lensTranslatingMask)
B
magnificationPlugin(LensMagnificationGraphMousePlugin magnificationPlugin)
-
Methods inherited from class org.jungrapht.visualization.control.DefaultModalGraphMouse.Builder
addRegionSelectionCompleteMask, addRegionSelectionMask, addSingleSelectionMask, regionSelectionCompleteMask, regionSelectionMask, scalingMask, singleSelectionMask, translatingMask, xAxisScalingMask, yAxisScalingMask
-
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
-
magnificationPlugin
protected LensMagnificationGraphMousePlugin magnificationPlugin
-
lensTranslatingMask
protected int lensTranslatingMask
-
-
Method Detail
-
magnificationPlugin
public B magnificationPlugin(LensMagnificationGraphMousePlugin magnificationPlugin)
-
lensTranslatingMask
public B lensTranslatingMask(int lensTranslatingMask)
-
build
public T build()
- Overrides:
build
in classDefaultModalGraphMouse.Builder<V,E,T extends ModalLensGraphMouse,B extends ModalLensGraphMouse.Builder<V,E,T,B>>
-
-