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 protectedPointSymbolizerImpl()Creates a new instance of DefaultPointSymbolizerprotectedPointSymbolizerImpl(Graphic graphic, Unit<Length> uom, String geom, String name, Description desc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(StyleVisitor visitor)Objectaccept(TraversingStyleVisitor visitor, Object data)Accept a StyleVisitor to perform an operation on this symbolizer.Objectclone()Creates a deep copy clone.booleanequals(Object obj)GraphicgetGraphic()Provides the graphical-symbolization parameter to use for the point geometry.inthashCode()voidsetGraphic(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:
getGraphicin interfacePointSymbolizer- Returns:
- The Graphic to be used when drawing a point
-
setGraphic
public void setGraphic(Graphic graphic)
Setter for property graphic.- Specified by:
setGraphicin 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:
acceptin interfacePointSymbolizer- Specified by:
acceptin interfaceSymbolizer- Parameters:
visitor- The StyleVisitor to accept.- Returns:
- value produced
-
accept
public void accept(StyleVisitor visitor)
- Specified by:
acceptin interfaceSymbolizer
-
clone
public Object clone()
Creates a deep copy clone.- Specified by:
clonein interfaceCloneable- Overrides:
clonein classObject- Returns:
- The deep copy clone.
- See Also:
Object.clone()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractSymbolizer
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classAbstractSymbolizer
-
-