T
- The type of object to create the renderer forpublic 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.
Modifier and Type | Method and Description |
---|---|
Renderer |
create(T content,
LayerViewPanel panel,
int maxFeatures)
Create a renderer for the content.
|
Renderer create(T content, LayerViewPanel panel, int maxFeatures)
content
- The content to render.panel
- The panel to render the content to.maxFeatures
- The maximum number of features to render.