org.geotools.styling
Class PointSymbolizerImpl

java.lang.Object
  extended by org.geotools.styling.AbstractSymbolizer
      extended by org.geotools.styling.PointSymbolizerImpl
All Implemented Interfaces:
java.lang.Cloneable, org.opengis.style.PointSymbolizer, org.opengis.style.Symbolizer

public class PointSymbolizerImpl
extends AbstractSymbolizer
implements PointSymbolizer, org.opengis.util.Cloneable

Provides a Java representation of the PointSymbolizer. This defines how points are to be rendered.

Version:
$Id: PointSymbolizerImpl.java 34564 2009-11-30 16:08:45Z aaime $
Author:
Ian Turton, CCG, Johann Sorel (Geomatys)

Field Summary
 
Fields inherited from class org.geotools.styling.AbstractSymbolizer
description, geometry, name, unitOfMeasure
 
Constructor Summary
protected PointSymbolizerImpl()
          Creates a new instance of DefaultPointSymbolizer
protected PointSymbolizerImpl(Graphic graphic, javax.measure.unit.Unit<javax.measure.quantity.Length> uom, java.lang.String geom, java.lang.String name, Description desc)
           
 
Method Summary
 void accept(StyleVisitor visitor)
           
 java.lang.Object accept(org.opengis.style.StyleVisitor visitor, java.lang.Object data)
          Accept a StyleVisitor to perform an operation on this symbolizer.
 java.lang.Object clone()
          Creates a deep copy clone.
 boolean equals(java.lang.Object obj)
           
 GraphicImpl getGraphic()
          Provides the graphical-symbolization parameter to use for the point geometry.
 int hashCode()
           
 void setGraphic(org.opengis.style.Graphic graphic)
          Setter for property graphic.
 
Methods inherited from class org.geotools.styling.AbstractSymbolizer
getDescription, getGeometry, getGeometryPropertyName, getName, getUnitOfMeasure, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasure
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.geotools.styling.Symbolizer
getDescription, getGeometry, getGeometryPropertyName, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasure
 
Methods inherited from interface org.opengis.style.Symbolizer
getName, getUnitOfMeasure
 

Constructor Detail

PointSymbolizerImpl

protected PointSymbolizerImpl()
Creates a new instance of DefaultPointSymbolizer


PointSymbolizerImpl

protected PointSymbolizerImpl(Graphic graphic,
                              javax.measure.unit.Unit<javax.measure.quantity.Length> uom,
                              java.lang.String geom,
                              java.lang.String name,
                              Description desc)
Method Detail

getGraphic

public GraphicImpl getGraphic()
Provides the graphical-symbolization parameter to use for the point geometry.

Specified by:
getGraphic in interface org.opengis.style.PointSymbolizer
Returns:
The Graphic to be used when drawing a point

setGraphic

public void setGraphic(org.opengis.style.Graphic graphic)
Setter for property graphic.

Parameters:
graphic - New value of property graphic.

accept

public java.lang.Object accept(org.opengis.style.StyleVisitor visitor,
                               java.lang.Object data)
Accept a StyleVisitor to perform an operation on this symbolizer.

Specified by:
accept in interface org.opengis.style.PointSymbolizer
Specified by:
accept in interface org.opengis.style.Symbolizer
Parameters:
visitor - The StyleVisitor to accept.

accept

public void accept(StyleVisitor visitor)

clone

public java.lang.Object clone()
Creates a deep copy clone.

Overrides:
clone in class java.lang.Object
Returns:
The deep copy clone.
Throws:
java.lang.RuntimeException - DOCUMENT ME!

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractSymbolizer

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class AbstractSymbolizer


Copyright © 1996-2010 Geotools. All Rights Reserved.