Class ViewLensSupport<V,E>
- java.lang.Object
-
- edu.uci.ics.jung.visualization.transform.AbstractLensSupport<V,E>
-
- edu.uci.ics.jung.visualization.transform.shape.ViewLensSupport<V,E>
-
- All Implemented Interfaces:
LensSupport
public class ViewLensSupport<V,E> extends AbstractLensSupport<V,E> implements LensSupport
Uses a LensTransformer to use in the view transform. This one will distort Vertex shapes.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.uci.ics.jung.visualization.transform.AbstractLensSupport
AbstractLensSupport.Lens, AbstractLensSupport.LensControls
-
-
Field Summary
Fields Modifier and Type Field Description protected GraphicsDecorator
lensGraphicsDecorator
protected GraphElementAccessor<V,E>
pickSupport
protected RenderContext<V,E>
renderContext
protected Renderer.Edge<V,E>
reshapingEdgeRenderer
protected Renderer.Edge<V,E>
savedEdgeRenderer
protected GraphicsDecorator
savedGraphicsDecorator
-
Fields inherited from class edu.uci.ics.jung.visualization.transform.AbstractLensSupport
defaultToolTipText, graphMouse, instructions, lens, lensControls, lensGraphMouse, lensTransformer, vv
-
-
Constructor Summary
Constructors Constructor Description ViewLensSupport(VisualizationViewer<V,E> vv, LensTransformer lensTransformer, ModalGraphMouse lensGraphMouse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activate()
void
deactivate()
-
Methods inherited from class edu.uci.ics.jung.visualization.transform.AbstractLensSupport
activate, getGraphMouse, getLens, getLensControls, getLensTransformer, setLens, setLensControls
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface edu.uci.ics.jung.visualization.transform.LensSupport
activate, getGraphMouse, getLensTransformer
-
-
-
-
Field Detail
-
renderContext
protected RenderContext<V,E> renderContext
-
lensGraphicsDecorator
protected GraphicsDecorator lensGraphicsDecorator
-
savedGraphicsDecorator
protected GraphicsDecorator savedGraphicsDecorator
-
pickSupport
protected GraphElementAccessor<V,E> pickSupport
-
savedEdgeRenderer
protected Renderer.Edge<V,E> savedEdgeRenderer
-
reshapingEdgeRenderer
protected Renderer.Edge<V,E> reshapingEdgeRenderer
-
-
Constructor Detail
-
ViewLensSupport
public ViewLensSupport(VisualizationViewer<V,E> vv, LensTransformer lensTransformer, ModalGraphMouse lensGraphMouse)
-
-
Method Detail
-
activate
public void activate()
- Specified by:
activate
in interfaceLensSupport
-
deactivate
public void deactivate()
- Specified by:
deactivate
in interfaceLensSupport
-
-