|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.event.AbstractGTComponent
org.geotools.styling.MarkImpl
DOCUMENT ME!
| Field Summary |
| Fields inherited from class org.geotools.event.AbstractGTComponent |
notification |
| Fields inherited from interface org.geotools.styling.Mark |
MARKS_EMPTY |
| Fields inherited from interface org.geotools.styling.Symbol |
SYMBOLS_EMPTY |
| Constructor Summary | |
protected |
MarkImpl()
Creates a new instance of DefaultMark |
|
MarkImpl(java.lang.String name)
|
| Method Summary | |
void |
accept(StyleVisitor visitor)
|
java.lang.Object |
clone()
Creates a deep copy of the Mark. |
boolean |
equals(java.lang.Object oth)
Compares this MarkImpl with another for equality. |
Fill |
getFill()
This parameter defines which fill style to use when rendering the Mark. |
Expression |
getRotation()
Getter for property rotation. |
Expression |
getSize()
Getter for property size. |
Stroke |
getStroke()
This paramterer defines which stroke style should be used when rendering the Mark. |
Expression |
getWellKnownName()
This parameter gives the well-known name of the shape of the mark. |
int |
hashCode()
The hashcode override for the MarkImpl. |
void |
setFill(Fill fill)
Setter for property fill. |
void |
setRotation(double rotation)
|
void |
setRotation(Expression rotation)
|
void |
setSize(Expression size)
|
void |
setSize(int size)
|
void |
setStroke(Stroke stroke)
Setter for property stroke. |
void |
setWellKnownName(Expression wellKnownName)
Setter for property wellKnownName. |
void |
setWellKnownName(java.lang.String name)
|
java.lang.String |
toString()
|
| 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, wait, wait, wait |
| Methods inherited from interface org.geotools.event.GTComponent |
changed, getNote, getParent, removed, setNote |
| Constructor Detail |
protected MarkImpl()
public MarkImpl(java.lang.String name)
| Method Detail |
public Fill getFill()
getFill in interface Markpublic Stroke getStroke()
getStroke in interface Markpublic Expression getWellKnownName()
getWellKnownName in interface Markpublic void setFill(Fill fill)
setFill in interface Markfill - New value of property fill.public void setStroke(Stroke stroke)
setStroke in interface Markstroke - New value of property stroke.public void setSize(Expression size)
setSize in interface Markpublic void setSize(int size)
public void setWellKnownName(Expression wellKnownName)
setWellKnownName in interface MarkwellKnownName - New value of property wellKnownName.public void setWellKnownName(java.lang.String name)
public void setRotation(Expression rotation)
setRotation in interface Markpublic void setRotation(double rotation)
public Expression getSize()
getSize in interface Markpublic Expression getRotation()
getRotation in interface Markpublic java.lang.String toString()
public void accept(StyleVisitor visitor)
accept in interface Markpublic java.lang.Object clone()
Only the fill and stroke are cloned since Expressions should be immutable.
clone in interface org.opengis.util.Cloneableclone in class AbstractGTComponentorg.geotools.styling.Mark#clone()public int hashCode()
public boolean equals(java.lang.Object oth)
Two MarkImpls are equal if they have the same well Known Name, the same size and rotation and the same stroke and fill.
oth - The Other MarkImpl to compare with.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||