KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > prefuse > render > RendererFactory


1 package prefuse.render;
2
3 import prefuse.visual.VisualItem;
4
5 /**
6  * The RendererFactory is responsible for providing the proper Renderer
7  * instance for drawing a given VisualItem.
8  *
9  * @author <a HREF="http://jheer.org">jeffrey heer</a>
10  */

11 public interface RendererFactory {
12
13     /**
14      * Return a Renderer instance to draw the given VisualItem.
15      * @param item the item for which to retrieve the renderer
16      * @return the Renderer for the given VisualItem
17      */

18     public Renderer getRenderer(VisualItem item);
19
20 } // end of interface RendererFactory
21
Popular Tags