edu.uci.ics.jung.visualization.jai
Class AbstractPerspectiveTransformSupport<V,E>
java.lang.Object
edu.uci.ics.jung.visualization.jai.AbstractPerspectiveTransformSupport<V,E>
- All Implemented Interfaces:
- PerspectiveTransformSupport
- Direct Known Subclasses:
- PerspectiveImageLensSupport, PerspectiveLayoutTransformSupport, PerspectiveViewTransformSupport
public abstract class AbstractPerspectiveTransformSupport<V,E>
- extends Object
- implements PerspectiveTransformSupport
A class to make it easy to add a perspective projection
examining lens to a jung graph application. See PerspectiveTransformerDemo
for an example of how to use it.
- Author:
- Tom Nelson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
vv
protected VisualizationViewer<V,E> vv
perspectiveTransformer
protected PerspectiveShapeTransformer perspectiveTransformer
lens
protected AbstractPerspectiveTransformSupport.Lens lens
defaultToolTipText
protected String defaultToolTipText
instructions
protected static final String instructions
- See Also:
- Constant Field Values
AbstractPerspectiveTransformSupport
public AbstractPerspectiveTransformSupport(VisualizationViewer<V,E> vv)
- create the base class, setting common members and creating
a custom GraphMouse
- Parameters:
vv
- the VisualizationViewer to work on
activate
public void activate(boolean state)
- Specified by:
activate
in interface PerspectiveTransformSupport
getPerspectiveTransformer
public PerspectiveShapeTransformer getPerspectiveTransformer()
- Specified by:
getPerspectiveTransformer
in interface PerspectiveTransformSupport
setPerspectiveTransformer
public void setPerspectiveTransformer(PerspectiveShapeTransformer perspectiveTransformer)
Copyright © 2009. All Rights Reserved.