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

java.lang.Object
  extended by edu.uci.ics.jung.visualization.jai.AbstractPerspectiveTransformSupport<V,E>
      extended by edu.uci.ics.jung.visualization.jai.PerspectiveImageLensSupport<V,E>
All Implemented Interfaces:
PerspectiveTransformSupport

public class PerspectiveImageLensSupport<V,E>
extends AbstractPerspectiveTransformSupport<V,E>

A class to make it easy to add a Perspective projection to a jung graph application. See PerspectiveTransformerDemo 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.jai.AbstractPerspectiveTransformSupport
AbstractPerspectiveTransformSupport.Lens
 
Field Summary
protected  GraphicsDecorator lensGraphicsDecorator
           
protected  GraphElementAccessor<V,E> pickSupport
           
protected  RenderContext<V,E> renderContext
           
protected  Renderer<V,E> renderer
           
protected  GraphicsDecorator savedGraphicsDecorator
           
protected  Renderer<V,E> transformingRenderer
           
 
Fields inherited from class edu.uci.ics.jung.visualization.jai.AbstractPerspectiveTransformSupport
defaultToolTipText, lens, perspectiveTransformer, vv
 
Constructor Summary
PerspectiveImageLensSupport(VisualizationViewer<V,E> vv)
           
 
Method Summary
 void activate()
           
 void deactivate()
           
 
Methods inherited from class edu.uci.ics.jung.visualization.jai.AbstractPerspectiveTransformSupport
activate, getPerspectiveTransformer, setPerspectiveTransformer
 
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
Constructor Detail

PerspectiveImageLensSupport

public PerspectiveImageLensSupport(VisualizationViewer<V,E> vv)
Parameters:
vv - the VisualizationViewer to work on
Method Detail

activate

public void activate()

deactivate

public void deactivate()


Copyright © 2009. All Rights Reserved.