|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectPolygonSymbolizerImpl
public class PolygonSymbolizerImpl
Provides a representation of a PolygonSymbolizer in an SLD Document. A PolygonSymbolizer defines how a polygon geometry should be rendered.
modules/library/main (gt-main.jar)
Constructor Summary | |
---|---|
protected |
PolygonSymbolizerImpl()
Creates a new instance of DefaultPolygonStyler |
protected |
PolygonSymbolizerImpl(Stroke stroke,
Fill fill,
Displacement disp,
Expression offset,
Unit<Length> uom,
String geom,
String name,
Description desc)
|
Method Summary | |
---|---|
void |
accept(StyleVisitor visitor)
|
Object |
accept(StyleVisitor visitor,
Object data)
Accepts a StyleVisitor to perform some operation on this LineSymbolizer. |
Object |
clone()
Creates a deep copy clone. |
boolean |
equals(Object oth)
Compares this PolygonSymbolizerImpl with another. |
Description |
getDescription()
|
Displacement |
getDisplacement()
|
Fill |
getFill()
Provides the graphical-symbolization parameter to use to fill the area of the geometry. |
String |
getGeometryPropertyName()
This property defines the geometry to be used for styling. |
String |
getName()
|
Expression |
getPerpendicularOffset()
|
StrokeImpl |
getStroke()
Provides the graphical-symbolization parameter to use for the outline of the Polygon. |
Unit<Length> |
getUnitOfMeasure()
|
int |
hashCode()
Generates a hashcode for the PolygonSymbolizerImpl. |
void |
setDescription(Description description)
|
void |
setDisplacement(Displacement displacement)
|
void |
setFill(Fill fill)
Sets the graphical-symbolization parameter to use to fill the area of the geometry. |
void |
setGeometryPropertyName(String name)
Sets the GeometryPropertyName. |
void |
setName(String name)
|
void |
setPerpendicularOffset(Expression offset)
|
void |
setStroke(Stroke stroke)
Sets the graphical-symbolization parameter to use for the outline of the Polygon. |
void |
setUnitOfMeasure(Unit<Length> uom)
|
Methods inherited from class Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected PolygonSymbolizerImpl()
protected PolygonSymbolizerImpl(Stroke stroke, Fill fill, Displacement disp, Expression offset, Unit<Length> uom, String geom, String name, Description desc)
Method Detail |
---|
public String getName()
getName
in interface Symbolizer
public void setName(String name)
public Description getDescription()
getDescription
in interface Symbolizer
public void setDescription(Description description)
public String getGeometryPropertyName()
getGeometryPropertyName
in interface Symbolizer
public void setGeometryPropertyName(String name)
name
- The name of the GeometryProperty.#PolygonSymbolizerImpl.geometryPropertyName()
public Unit<Length> getUnitOfMeasure()
getUnitOfMeasure
in interface Symbolizer
public void setUnitOfMeasure(Unit<Length> uom)
public Expression getPerpendicularOffset()
getPerpendicularOffset
in interface PolygonSymbolizer
public void setPerpendicularOffset(Expression offset)
public Displacement getDisplacement()
getDisplacement
in interface PolygonSymbolizer
public void setDisplacement(Displacement displacement)
public Fill getFill()
getFill
in interface PolygonSymbolizer
public void setFill(Fill fill)
fill
- The Fill style to use when rendering the area.public StrokeImpl getStroke()
getStroke
in interface PolygonSymbolizer
public void setStroke(Stroke stroke)
stroke
- The Stroke style to use when rendering lines.public Object accept(StyleVisitor visitor, Object data)
accept
in interface PolygonSymbolizer
accept
in interface Symbolizer
visitor
- The visitor to accept.public void accept(StyleVisitor visitor)
public Object clone()
clone
in class Object
RuntimeException
- DOCUMENT ME!public int hashCode()
hashCode
in class Object
public boolean equals(Object oth)
Two PolygonSymbolizerImpls are equal if they have the same geometryProperty, fill and stroke.
equals
in class Object
oth
- the object to compare against.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |