Class LayoutLensSupport<V,E>
java.lang.Object
edu.uci.ics.jung.visualization.transform.AbstractLensSupport<V,E>
edu.uci.ics.jung.visualization.transform.LayoutLensSupport<V,E>
- All Implemented Interfaces:
LensSupport
A class to make it easy to add an
examining lens to a jung graph application. See HyperbolicTransformerDemo
for an example of how to use it.
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractLensSupport
AbstractLensSupport.Lens, AbstractLensSupport.LensControls -
Field Summary
FieldsFields inherited from class AbstractLensSupport
defaultToolTipText, graphMouse, instructions, lens, lensControls, lensGraphMouse, lensTransformer, vv -
Constructor Summary
ConstructorsConstructorDescriptionLayoutLensSupport(VisualizationViewer<V, E> vv, LensTransformer lensTransformer, ModalGraphMouse lensGraphMouse) Create an instance with the specified parameters. -
Method Summary
Methods inherited from class AbstractLensSupport
activate, getGraphMouse, getLens, getLensControls, getLensTransformer, setLens, setLensControlsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface LensSupport
activate, getGraphMouse, getLensTransformer
-
Field Details
-
pickSupport
-
-
Constructor Details
-
LayoutLensSupport
-
LayoutLensSupport
public LayoutLensSupport(VisualizationViewer<V, E> vv, LensTransformer lensTransformer, ModalGraphMouse lensGraphMouse) Create an instance with the specified parameters.- Parameters:
vv- the visualization viewer used for renderinglensTransformer- the lens transformer to uselensGraphMouse- the lens input handler
-
-
Method Details
-
activate
public void activate()- Specified by:
activatein interfaceLensSupport
-
deactivate
public void deactivate()- Specified by:
deactivatein interfaceLensSupport
-