Package org.geotools.styling
Class PointSymbolizerImpl
Object
AbstractSymbolizer
PointSymbolizerImpl
- All Implemented Interfaces:
Cloneable
,PointSymbolizer
,Symbolizer
,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
ConstructorsModifierConstructorDescriptionprotected
Creates a new instance of DefaultPointSymbolizerprotected
PointSymbolizerImpl
(Graphic graphic, Unit<Length> uom, String geom, String name, Description desc) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(StyleVisitor visitor) accept
(TraversingStyleVisitor visitor, Object data) Accept a StyleVisitor to perform an operation on this symbolizer.clone()
Creates a deep copy clone.boolean
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 Details
-
PointSymbolizerImpl
protected PointSymbolizerImpl()Creates a new instance of DefaultPointSymbolizer -
PointSymbolizerImpl
protected PointSymbolizerImpl(Graphic graphic, Unit<Length> uom, String geom, String name, Description desc)
-
-
Method Details
-
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
Setter for property graphic.- Specified by:
setGraphic
in interfacePointSymbolizer
- Parameters:
graphic
- New value of property graphic.
-
accept
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
- Specified by:
accept
in interfaceSymbolizer
-
clone
Creates a deep copy clone. -
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractSymbolizer
-
equals
- Overrides:
equals
in classAbstractSymbolizer
-