|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.event.AbstractGTComponent org.geotools.styling.PolygonSymbolizerImpl
Provides a representation of a PolygonSymbolizer in an SLD Document. A PolygonSymbolizer defines how a polygon geometry should be rendered.
Field Summary |
Fields inherited from class org.geotools.event.AbstractGTComponent |
notification |
Constructor Summary | |
protected |
PolygonSymbolizerImpl()
Creates a new instance of DefaultPolygonStyler |
Method Summary | |
void |
accept(StyleVisitor visitor)
Accepts a StyleVisitor to perform some operation on this LineSymbolizer. |
java.lang.Object |
clone()
Creates a deep copy clone. |
boolean |
equals(java.lang.Object oth)
Compares this PolygonSymbolizerImpl with another. |
Fill |
getFill()
Provides the graphical-symbolization parameter to use to fill the area of the geometry. |
java.lang.String |
getGeometryPropertyName()
This property defines the geometry to be used for styling. |
Stroke |
getStroke()
Provides the graphical-symbolization parameter to use for the outline of the Polygon. |
int |
hashCode()
Generates a hashcode for the PolygonSymbolizerImpl. |
void |
setFill(Fill fill)
Sets the graphical-symbolization parameter to use to fill the area of the geometry. |
void |
setGeometryPropertyName(java.lang.String name)
Sets the GeometryPropertyName. |
void |
setStroke(Stroke stroke)
Sets the graphical-symbolization parameter to use for the outline of the Polygon. |
Methods inherited from class org.geotools.event.AbstractGTComponent |
changed, fireChanged, fireChildChanged, getNote, getParent, removed, setNote |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.geotools.event.GTComponent |
changed, getNote, getParent, removed, setNote |
Constructor Detail |
protected PolygonSymbolizerImpl()
Method Detail |
public java.lang.String getGeometryPropertyName()
getGeometryPropertyName
in interface PolygonSymbolizer
public void setGeometryPropertyName(java.lang.String name)
setGeometryPropertyName
in interface PolygonSymbolizer
name
- The name of the GeometryProperty.#PolygonSymbolizerImpl.geometryPropertyName()
public Fill getFill()
getFill
in interface PolygonSymbolizer
public void setFill(Fill fill)
setFill
in interface PolygonSymbolizer
fill
- The Fill style to use when rendering the area.public Stroke getStroke()
getStroke
in interface PolygonSymbolizer
public void setStroke(Stroke stroke)
setStroke
in interface PolygonSymbolizer
stroke
- The Stroke style to use when rendering lines.public void accept(StyleVisitor visitor)
accept
in interface Symbolizer
visitor
- The visitor to accept.public java.lang.Object clone()
clone
in interface org.opengis.util.Cloneable
clone
in class AbstractGTComponent
java.lang.RuntimeException
- DOCUMENT ME!public int hashCode()
public boolean equals(java.lang.Object oth)
Two PolygonSymbolizerImpls are equal if they have the same geometryProperty, fill and stroke.
oth
- the object to compare against.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |