org.openjump.jump.workbench.ui.renderer
Interface IRendererFactoryTool

All Known Implementing Classes:
RegularLayerRendererTool, WMSLayerRendererTool

public interface IRendererFactoryTool

This is a tool that is used by the RenderingManager to create and return a Renderer.

Version:
00.00.01
Author:
The Sunburned Surveyor

Method Summary
 com.vividsolutions.jump.workbench.ui.renderer.Renderer getRenderer(java.lang.Object argContentID, com.vividsolutions.jump.workbench.ui.LayerViewPanel argPanel)
          Returns a Renderer.
 void initialize()
          This method is called by the RenderingFactory when this tool is added to its collection of RenderingFactoryTools.
 

Method Detail

getRenderer

com.vividsolutions.jump.workbench.ui.renderer.Renderer getRenderer(java.lang.Object argContentID,
                                                                   com.vividsolutions.jump.workbench.ui.LayerViewPanel argPanel)
Returns a Renderer. This method should create the Renderer if it does not already exist. Or it can return a Renderer that has already been created.

Parameters:
Object - - The object that needs to be rendered.
LayerViewPanel - - The LayerViewPanel on which the object will be rendered.
Returns:
Renderer

initialize

void initialize()
This method is called by the RenderingFactory when this tool is added to its collection of RenderingFactoryTools. You should put any "start up" tasks necessary for the proper operation of your RenderingFactoryTool in this method.