getRenderer(RenderContext context) Creates a Renderer which can render the provided layer
Parameters: context - A context object with a layer to be rendered.
final public static String LAST_RESORT_RENDERER_ID(Code)
Provides a way to influence the choice of renderers. The value of a blackboard entry must a string which is the
id of the Renderer as declared in the Extension definition. For example "BasicFeatureRenderer".
If an entry is on a Layer's blackboard with this key then that renderer will be negatively weighted for that layer compared other renderers.
If an entry is on the Map's blackboard with this key then that renderer will be negatively weighted compared to other renderers.
IMPORTANT: don't forget to append the plugin ID to the id entered into the id field.
PREFERRED_RENDERER_ID
final public static String PREFERRED_RENDERER_ID(Code)
Provides a way to influence the choice of renderers. The value of a blackboard entry must a string which is the
id of the Renderer as declared in the Extension definition. For example "BasicFeatureRenderer".
If an entry is on a Layer's blackboard with this key then that renderer will be preferred for that layer over other renderers.
If an entry is on the Map's blackboard with this key then that renderer will be preferred over other renderers unless
there is also an entry on a layer. In that case the layer's renderer still has precidence.
IMPORTANT: don't forget to append the plugin ID to the id entered into the id field.
Returns The name and description of all the renderers that are capable of rendering the provided layer.
The name and description of all the renderers that are capable of rendering the provided layer.
Creates a Renderer which can render the provided layer
Parameters: context - A context object with a layer to be rendered. The layer will be used todetermine which renderer will be created a Renderer which can render the provided layer null if the layer type is not known(for example a decorator with an unknown renderer)