org.geotools.styling
Class PointSymbolizerImpl

Object
  extended by AbstractSymbolizer
      extended by PointSymbolizerImpl
All Implemented Interfaces:
Cloneable, PointSymbolizer, Symbolizer

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)
Module:
modules/library/main (gt-main.jar)

Field Summary
 
Fields inherited from class AbstractSymbolizer
description, geometry, name, unitOfMeasure
 
Constructor Summary
protected PointSymbolizerImpl()
          Creates a new instance of DefaultPointSymbolizer
protected PointSymbolizerImpl(Graphic graphic, Unit<Length> uom, String geom, String name, Description desc)
           
 
Method Summary
 void accept(StyleVisitor visitor)
           
 Object accept(StyleVisitor visitor, Object data)
          Accept a StyleVisitor to perform an operation on this symbolizer.
 Object clone()
          Creates a deep copy clone.
 boolean equals(Object obj)
           
 GraphicImpl 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, getUnitOfMeasure, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasure
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface Symbolizer
getName, getUnitOfMeasure
 
Methods inherited from interface Symbolizer
getDescription, getGeometry, getGeometryPropertyName, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasure
 
Methods inherited from interface Symbolizer
getName, getUnitOfMeasure
 

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 GraphicImpl getGraphic()
Provides the graphical-symbolization parameter to use for the point geometry.

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

setGraphic

public void setGraphic(Graphic graphic)
Setter for property graphic.

Parameters:
graphic - New value of property graphic.

accept

public Object accept(StyleVisitor visitor,
                     Object data)
Accept a StyleVisitor to perform an operation on this symbolizer.

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

accept

public void accept(StyleVisitor visitor)

clone

public Object clone()
Creates a deep copy clone.

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

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractSymbolizer

equals

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


Copyright © 1996-2010 Geotools. All Rights Reserved.