edu.uci.ics.jung.visualization.jai
Class HyperbolicImageLensSupport<V,E>

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

public class HyperbolicImageLensSupport<V,E>
extends AbstractLensSupport<V,E>

A class to make it easy to add a Hyperbolic projection examining lens to a jung graph application. See HyperbolicTransforerDemo 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  GraphicsDecorator lensGraphicsDecorator
           
protected  GraphElementAccessor<V,E> pickSupport
           
protected  RenderContext<V,E> renderContext
           
protected  Renderer<V,E> renderer
           
protected  Renderer.Edge<V,E> reshapingEdgeRenderer
           
protected  Renderer.Edge<V,E> savedEdgeRenderer
           
protected  GraphicsDecorator savedGraphicsDecorator
           
protected  Renderer<V,E> transformingRenderer
           
 
Fields inherited from class edu.uci.ics.jung.visualization.transform.AbstractLensSupport
defaultToolTipText, graphMouse, lens, lensControls, lensGraphMouse, lensTransformer, vv
 
Constructor Summary
HyperbolicImageLensSupport(VisualizationViewer<V,E> vv)
           
HyperbolicImageLensSupport(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
 

Field Detail

renderContext

protected RenderContext<V,E> renderContext

lensGraphicsDecorator

protected GraphicsDecorator lensGraphicsDecorator

savedGraphicsDecorator

protected GraphicsDecorator savedGraphicsDecorator

renderer

protected Renderer<V,E> renderer

transformingRenderer

protected Renderer<V,E> transformingRenderer

pickSupport

protected GraphElementAccessor<V,E> pickSupport

savedEdgeRenderer

protected Renderer.Edge<V,E> savedEdgeRenderer

reshapingEdgeRenderer

protected Renderer.Edge<V,E> reshapingEdgeRenderer
Constructor Detail

HyperbolicImageLensSupport

public HyperbolicImageLensSupport(VisualizationViewer<V,E> vv)

HyperbolicImageLensSupport

public HyperbolicImageLensSupport(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()

deactivate

public void deactivate()


Copyright © 2009. All Rights Reserved.