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 StringdefaultToolTipTextprotected VisualizationViewer.GraphMousegraphMouseprotected ItemListeneritemListenerprotected RunnablekillSwitchprotected MlensGraphMouseprotected LensTransformerlensTransformerprotected GraphElementAccessor<V,E>pickSupportprotected booleanuseGradientprotected VisualizationViewer<V,E>vv
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder(VisualizationViewer<V,E> vv)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Tbuild()BdefaultToolTipText(String defaultToolTipText)BgraphMouse(VisualizationViewer.GraphMouse graphMouse)BitemListener(ItemListener itemListener)BkillSwitch(Runnable killSwitch)BlensGraphMouse(M lensGraphMouse)BlensTransformer(LensTransformer lensTransformer)BpickSupport(GraphElementAccessor<V,E> pickSupport)Bself()BuseGradient(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()
-
-