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

java.lang.Object
  extended by edu.uci.ics.jung.visualization.renderers.BasicVertexRenderer<V,E>
      extended by edu.uci.ics.jung.visualization.jai.TransformingImageVertexIconRenderer<V,E>
All Implemented Interfaces:
Renderer.Vertex<V,E>

public class TransformingImageVertexIconRenderer<V,E>
extends BasicVertexRenderer<V,E>

a subclass to apply a TransformingGraphics to certain operations

Author:
Tom Nelson

Nested Class Summary
 
Nested classes/interfaces inherited from interface edu.uci.ics.jung.visualization.renderers.Renderer.Vertex
Renderer.Vertex.NOOP
 
Constructor Summary
TransformingImageVertexIconRenderer()
          create an instance
 
Method Summary
protected  RenderedImage getPerspectiveImage(Image image, Shape imageShape, Shape perspectiveShape)
           
 void paintIconForVertex(RenderContext<V,E> rc, V v, Layout<V,E> layout)
          Paint v's icon on g at (x,y).
 
Methods inherited from class edu.uci.ics.jung.visualization.renderers.BasicVertexRenderer
paintShapeForVertex, paintVertex, vertexHit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformingImageVertexIconRenderer

public TransformingImageVertexIconRenderer()
create an instance

Method Detail

paintIconForVertex

public void paintIconForVertex(RenderContext<V,E> rc,
                               V v,
                               Layout<V,E> layout)
Description copied from class: BasicVertexRenderer
Paint v's icon on g at (x,y).

Overrides:
paintIconForVertex in class BasicVertexRenderer<V,E>

getPerspectiveImage

protected RenderedImage getPerspectiveImage(Image image,
                                            Shape imageShape,
                                            Shape perspectiveShape)


Copyright © 2009. All Rights Reserved.