net.refractions.udig.project.render
Interface ICompositeRenderContext

All Superinterfaces:
IAbstractContext, IRenderContext

public interface ICompositeRenderContext
extends IRenderContext

A toolkit that is provided to composite renderers.

In addition to the references available in the Toolkit class, RenderToolkit has the layers and services the renderer is responsible for and the buffered image that the renderer draws to.

Responsibilities:

Since:
0.5
Author:
Jesse
See Also:
IRenderContext

Method Summary
 ICompositeRenderContext copy()
          Makes a deep copy of this object, if necessary.
 java.util.List<IRenderContext> getContexts()
           
 java.util.List<ILayer> getLayers()
          Returns the list of all the layers referenced by the contained Contexts.
 
Methods inherited from interface net.refractions.udig.project.render.IRenderContext
clearImage, clearImage, copyImage, getFeatureQuery, getGeoResource, getImage, getImage, getLabelPainter, getLayer, getStatus, getStatusMessage, getZorder, hasContent, isVisible, setStatus, setStatusMessage
 
Methods inherited from interface net.refractions.udig.project.IAbstractContext
getBoundingBox, getCRS, getEditManager, getFeaturesInBbox, getMap, getMapDisplay, getMapLayers, getPixelBoundingBox, getPixelSize, getProject, getRenderManager, getSelectedLayer, getViewportModel, pixelToWorld, toShape, toShape, tranformCoordinate, worldBounds, worldToPixel, worldToScreenMathTransform, worldToScreenTransform
 

Method Detail

getContexts

java.util.List<IRenderContext> getContexts()
Returns:
List The list of RenderContexts that contain the information about how each layer should be rendered.
See Also:
IRenderContext, List

getLayers

java.util.List<ILayer> getLayers()
Returns the list of all the layers referenced by the contained Contexts.

The method iterates throught the list of contexts and collects all the Layers

Returns:
List The list of Layers
See Also:
ILayer, List

copy

ICompositeRenderContext copy()
Description copied from interface: IAbstractContext
Makes a deep copy of this object, if necessary. This is an alternative to clone since I hate clone, it is too hard to implement.

Specified by:
copy in interface IAbstractContext
Specified by:
copy in interface IRenderContext
Returns:
a new copy of this object.