com.vividsolutions.jump.workbench.ui.renderer
Interface RendererFactory<T>

Type Parameters:
T - The type of object to create the renderer for
All Known Implementing Classes:
LayerRendererFactory, WmsLayerRendererFactory

public interface RendererFactory<T>

The RendererFactory interface is used to create an instance of the renderer for the class of the content to be rendered.

Renderers for a class can be registered using the RenderingManager.setRendererFactory(Class, RendererFactory) method.

Author:
Paul Austin

Method Summary
 Renderer create(T content, LayerViewPanel panel, int maxFeatures)
          Create a renderer for the content.
 

Method Detail

create

Renderer create(T content,
                LayerViewPanel panel,
                int maxFeatures)
Create a renderer for the content.

Parameters:
content - The content to render.
panel - The panel to render the content to.
maxFeatures - The maximum number of features to render.
Returns:
The renderer.