|
|||||||||||
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.LineSymbolizerImpl
Provides a representation of a LineSymbolizer in an SLD Document. A LineSymbolizer defines how a line geometry should be rendered.
Field Summary |
Fields inherited from class org.geotools.event.AbstractGTComponent |
notification |
Constructor Summary | |
protected |
LineSymbolizerImpl()
Creates a new instance of DefaultLineSymbolizer |
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 LineSymbolizerImpl with another for equality. |
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 linear geometry. |
int |
hashCode()
Generates a hashcode for the LineSymbolizerImpl. |
void |
setGeometryPropertyName(java.lang.String name)
Sets the GeometryPropertyName. |
void |
setStroke(Stroke stroke)
Sets the graphical-symbolization parameter to use for the linear geometry. |
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 LineSymbolizerImpl()
Method Detail |
public java.lang.String getGeometryPropertyName()
getGeometryPropertyName
in interface LineSymbolizer
public void setGeometryPropertyName(java.lang.String name)
setGeometryPropertyName
in interface LineSymbolizer
name
- The name of the geometryProperty.#LineSymbolizerImpl.geometryPropertyName()
public Stroke getStroke()
getStroke
in interface LineSymbolizer
public void setStroke(Stroke stroke)
setStroke
in interface LineSymbolizer
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 LineSymbolizerImpls are equal if they have the same geometryPropertyName and the same stroke.
oth
- The other LineSymbolizerImpl
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |