| net.refractions.udig.project.render.IRenderMetrics
All known Subclasses: net.refractions.udig.mapgraphic.internal.MapGraphicRenderMetrics, net.refractions.udig.project.render.AbstractRenderMetrics,
IRenderMetrics | public interface IRenderMetrics (Code) | | A RenderMetrics object is used to calculate estimated metrics for a renderer while rendering a
particular layer. RenderMetrics objects are used to decide which renderer to instantiate to
render a layer. As the state of udig changes different renderers may be more suited so the
RenderMetrics object are also used to judge whether a new renderer should be used for rendering a
layer.
See Also: AbstractRenderMetrics author: Jesse Eichar version: $Revision: 1.9 $ |
canAddLayer | public boolean canAddLayer(ILayer layer)(Code) | | Check to see if this layers can be added to rendered.
This is only called for renderers that are MultiLayer renderers.
|
canStyle | public boolean canStyle(String styleID, Object value)(Code) | | True if renderer use the provided style information.
The style information should be considered with respect to the current getRenderContext().
Parameters: SyleID - Parameters: value - true if renderer can use the provided style information |
createRenderer | public Renderer createRenderer()(Code) | | Creates a new Renderer that is represented by this Metrics object
a new Renderer that is represented by this Metrics object |
isOptimized | public boolean isOptimized()(Code) | | Returns true if this renderer is built specifically to render the GeoResource.
true if renderer is optimized to render |
|
|