Package org.openjump.core.rasterimage
Class RasterImageLayerRendererFactory
- java.lang.Object
-
- org.openjump.core.rasterimage.RasterImageLayerRendererFactory
-
- All Implemented Interfaces:
Renderer.ContentDependendFactory
,RendererFactory<RasterImageLayer>
public class RasterImageLayerRendererFactory extends Object implements Renderer.ContentDependendFactory, RendererFactory<RasterImageLayer>
TODO: comment class- Version:
- $Rev: 2434 $
- Author:
- Ole Rahn
FH Osnabrück - University of Applied Sciences Osnabrück,
Project: PIROL (2006),
Subproject: Daten- und Wissensmanagement
-
-
Field Summary
Fields Modifier and Type Field Description protected WorkbenchContext
wbContext
-
Constructor Summary
Constructors Constructor Description RasterImageLayerRendererFactory()
RasterImageLayerRendererFactory(WorkbenchContext wbContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Renderer
create(Object contentID)
Renderer
create(RasterImageLayer layer, LayerViewPanel panel, int maxFeatures)
Create a renderer for the content.
-
-
-
Field Detail
-
wbContext
protected WorkbenchContext wbContext
-
-
Constructor Detail
-
RasterImageLayerRendererFactory
public RasterImageLayerRendererFactory(WorkbenchContext wbContext)
-
RasterImageLayerRendererFactory
public RasterImageLayerRendererFactory()
-
-
Method Detail
-
create
public Renderer create(Object contentID)
- Specified by:
create
in interfaceRenderer.ContentDependendFactory
-
create
public Renderer create(RasterImageLayer layer, LayerViewPanel panel, int maxFeatures)
Description copied from interface:RendererFactory
Create a renderer for the content.- Specified by:
create
in interfaceRendererFactory<RasterImageLayer>
- Parameters:
layer
- The content to render.panel
- The panel to render the content to.maxFeatures
- The maximum number of features to render.- Returns:
- The renderer.
-
-