Class AbstractLensSupport.Builder<V,E,M extends LensGraphMouse,T extends AbstractLensSupport<V,E,M>,B extends AbstractLensSupport.Builder<V,E,M,T,B>>
- java.lang.Object
-
- org.jungrapht.visualization.transform.AbstractLensSupport.Builder<V,E,M,T,B>
-
- All Implemented Interfaces:
LensSupport.Builder<M,B>
- Direct Known Subclasses:
LayoutLensSupport.Builder
,MagnifyImageLensSupport.Builder
,ViewLensSupport.Builder
- Enclosing class:
- AbstractLensSupport<V,E,M extends LensGraphMouse>
public abstract static class AbstractLensSupport.Builder<V,E,M extends LensGraphMouse,T extends AbstractLensSupport<V,E,M>,B extends AbstractLensSupport.Builder<V,E,M,T,B>> extends Object implements LensSupport.Builder<M,B>
-
-
Field Summary
Fields Modifier and Type Field Description protected String
defaultToolTipText
protected VisualizationViewer.GraphMouse
graphMouse
protected ItemListener
itemListener
protected Runnable
killSwitch
protected M
lensGraphMouse
protected LensTransformer
lensTransformer
protected GraphElementAccessor<V,E>
pickSupport
protected boolean
useGradient
protected VisualizationViewer<V,E>
vv
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder(VisualizationViewer<V,E> vv)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract T
build()
B
defaultToolTipText(String defaultToolTipText)
B
graphMouse(VisualizationViewer.GraphMouse graphMouse)
B
itemListener(ItemListener itemListener)
B
killSwitch(Runnable killSwitch)
B
lensGraphMouse(M lensGraphMouse)
B
lensTransformer(LensTransformer lensTransformer)
B
pickSupport(GraphElementAccessor<V,E> pickSupport)
B
self()
B
useGradient(boolean useGradient)
-
-
-
Field Detail
-
vv
protected VisualizationViewer<V,E> vv
-
graphMouse
protected VisualizationViewer.GraphMouse graphMouse
-
lensGraphMouse
protected M extends LensGraphMouse lensGraphMouse
-
defaultToolTipText
protected String defaultToolTipText
-
killSwitch
protected Runnable killSwitch
-
lensTransformer
protected LensTransformer lensTransformer
-
pickSupport
protected GraphElementAccessor<V,E> pickSupport
-
useGradient
protected boolean useGradient
-
itemListener
protected ItemListener itemListener
-
-
Constructor Detail
-
Builder
protected Builder(VisualizationViewer<V,E> vv)
-
-
Method Detail
-
self
public B self()
-
graphMouse
public B graphMouse(VisualizationViewer.GraphMouse graphMouse)
-
lensTransformer
public B lensTransformer(LensTransformer lensTransformer)
-
pickSupport
public B pickSupport(GraphElementAccessor<V,E> pickSupport)
-
useGradient
public B useGradient(boolean useGradient)
-
itemListener
public B itemListener(ItemListener itemListener)
-
build
public abstract T build()
-
-