Package org.geotools.styling
Class PointSymbolizerImpl
- Object
-
- AbstractSymbolizer
-
- PointSymbolizerImpl
-
- All Implemented Interfaces:
Cloneable
,PointSymbolizer
,Symbolizer
,Cloneable
public class PointSymbolizerImpl extends AbstractSymbolizer implements PointSymbolizer, Cloneable
Provides a Java representation of the PointSymbolizer. This defines how points are to be rendered.- Author:
- Ian Turton, CCG, Johann Sorel (Geomatys)
-
-
Field Summary
-
Fields inherited from class AbstractSymbolizer
description, geometry, name, options, unitOfMeasure
-
Fields inherited from interface PointSymbolizer
FALLBACK_ON_DEFAULT_MARK
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PointSymbolizerImpl()
Creates a new instance of DefaultPointSymbolizerprotected
PointSymbolizerImpl(Graphic graphic, Unit<Length> uom, String geom, String name, Description desc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(StyleVisitor visitor)
Object
accept(TraversingStyleVisitor visitor, Object data)
Accept a StyleVisitor to perform an operation on this symbolizer.Object
clone()
Creates a deep copy clone.boolean
equals(Object obj)
Graphic
getGraphic()
Provides the graphical-symbolization parameter to use for the point geometry.int
hashCode()
void
setGraphic(Graphic graphic)
Setter for property graphic.-
Methods inherited from class AbstractSymbolizer
getDescription, getGeometry, getGeometryPropertyName, getName, getOptions, getUnitOfMeasure, hasOption, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasure
-
Methods inherited from class Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface Symbolizer
getDescription, getGeometry, getGeometryPropertyName, getName, getOptions, getUnitOfMeasure, hasOption, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasure
-
-
-
-
Constructor Detail
-
PointSymbolizerImpl
protected PointSymbolizerImpl()
Creates a new instance of DefaultPointSymbolizer
-
PointSymbolizerImpl
protected PointSymbolizerImpl(Graphic graphic, Unit<Length> uom, String geom, String name, Description desc)
-
-
Method Detail
-
getGraphic
public Graphic getGraphic()
Provides the graphical-symbolization parameter to use for the point geometry.- Specified by:
getGraphic
in interfacePointSymbolizer
- Returns:
- The Graphic to be used when drawing a point
-
setGraphic
public void setGraphic(Graphic graphic)
Setter for property graphic.- Specified by:
setGraphic
in interfacePointSymbolizer
- Parameters:
graphic
- New value of property graphic.
-
accept
public Object accept(TraversingStyleVisitor visitor, Object data)
Accept a StyleVisitor to perform an operation on this symbolizer.- Specified by:
accept
in interfacePointSymbolizer
- Specified by:
accept
in interfaceSymbolizer
- Parameters:
visitor
- The StyleVisitor to accept.- Returns:
- value produced
-
accept
public void accept(StyleVisitor visitor)
- Specified by:
accept
in interfaceSymbolizer
-
clone
public Object clone()
Creates a deep copy clone.- Specified by:
clone
in interfaceCloneable
- Overrides:
clone
in classObject
- Returns:
- The deep copy clone.
- See Also:
Object.clone()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractSymbolizer
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classAbstractSymbolizer
-
-