edu.uci.ics.jung.visualization.transform
Class LayoutLensSupport<V,E>

java.lang.Object
  extended by edu.uci.ics.jung.visualization.transform.AbstractLensSupport<V,E>
      extended by edu.uci.ics.jung.visualization.transform.LayoutLensSupport<V,E>
All Implemented Interfaces:
LensSupport

public class LayoutLensSupport<V,E>
extends AbstractLensSupport<V,E>
implements 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.

Author:
Tom Nelson

Nested Class Summary
 
Nested classes/interfaces inherited from class edu.uci.ics.jung.visualization.transform.AbstractLensSupport
AbstractLensSupport.Lens, AbstractLensSupport.LensControls
 
Field Summary
protected  GraphElementAccessor<V,E> pickSupport
           
 
Fields inherited from class edu.uci.ics.jung.visualization.transform.AbstractLensSupport
defaultToolTipText, graphMouse, instructions, lens, lensControls, lensGraphMouse, lensTransformer, vv
 
Constructor Summary
LayoutLensSupport(VisualizationViewer<V,E> vv)
           
LayoutLensSupport(VisualizationViewer<V,E> vv, LensTransformer lensTransformer, ModalGraphMouse lensGraphMouse)
          create the base class, setting common members and creating a custom GraphMouse
 
Method Summary
 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

pickSupport

protected GraphElementAccessor<V,E> pickSupport
Constructor Detail

LayoutLensSupport

public LayoutLensSupport(VisualizationViewer<V,E> vv)

LayoutLensSupport

public LayoutLensSupport(VisualizationViewer<V,E> vv,
                         LensTransformer lensTransformer,
                         ModalGraphMouse lensGraphMouse)
create the base class, setting common members and creating a custom GraphMouse

Parameters:
vv - the VisualizationViewer to work on
Method Detail

activate

public void activate()
Specified by:
activate in interface LensSupport

deactivate

public void deactivate()
Specified by:
deactivate in interface LensSupport


Copyright © 2009. All Rights Reserved.