public class TLcdSLDGXYPainterFactory extends ALcdSLDGXYPainterFactory implements ILcdCloneable
ALcdSLDGXYPainterFactory
implementation to create painters for objects
that should be rendered according to an SLD style that uses
a ILcdSLDSymbolizerPainterFactory
for symbolizer painters.Constructor and Description |
---|
TLcdSLDGXYPainterFactory() |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Makes
Object.clone() public. |
ALcdSLDFeatureTypeStylePainter |
createFeatureTypeStylePainter(TLcdSLDFeatureTypeStyle aStyle,
TLcdSLDContext aSLDContext)
Create a TLcdSLDFeatureTypeStylePainter.
|
ALcdSLDRulePainter |
createRulePainter(TLcdSLDRule aRule,
TLcdSLDContext aSLDContext)
Creates a TLcdSLDRulePainter.
|
ALcdSLDSymbolizerPainter |
createSymbolizerPainter(ALcdSLDSymbolizer aSLDSymbolizer,
TLcdSLDContext aSLDContext)
Creates an ALcdSLDSymbolizerPainter using the
ILcdSLDSymbolizerPainterFactory set. |
void |
setSymbolizerPainterFactory(ILcdSLDSymbolizerPainterFactory aSymbolizerPainterFactory)
Set an ILcdSLDSymbolizerPainterFactory on this class.
|
public void setSymbolizerPainterFactory(ILcdSLDSymbolizerPainterFactory aSymbolizerPainterFactory)
aSymbolizerPainterFactory
- the ILcdSLDSymbolizerPainterFactory to use.public ALcdSLDFeatureTypeStylePainter createFeatureTypeStylePainter(TLcdSLDFeatureTypeStyle aStyle, TLcdSLDContext aSLDContext)
createFeatureTypeStylePainter
in class ALcdSLDGXYPainterFactory
aStyle
- a TLcdSLDFeatureTypeStyle instanceaSLDContext
- the SLD contextpublic ALcdSLDRulePainter createRulePainter(TLcdSLDRule aRule, TLcdSLDContext aSLDContext)
createRulePainter
in class ALcdSLDGXYPainterFactory
aRule
- the SLD ruleaSLDContext
- the SLD contextpublic ALcdSLDSymbolizerPainter createSymbolizerPainter(ALcdSLDSymbolizer aSLDSymbolizer, TLcdSLDContext aSLDContext)
ILcdSLDSymbolizerPainterFactory
set.createSymbolizerPainter
in class ALcdSLDGXYPainterFactory
aSLDSymbolizer
- the symbolizer objectaSLDContext
- the SLD contextILcdSLDSymbolizerPainterFactory
public Object clone()
ILcdCloneable
Makes Object.clone()
public.
java.lang.Object
, it can be implemented like this:
public Object clone() {
try {
return super.clone();
} catch ( CloneNotSupportedException e ) {
// Cannot happen: extends from Object and implements Cloneable (see also Object.clone)
throw new RuntimeException( e );
}
}
clone
in interface ILcdCloneable
clone
in class Object
Object.clone()