|
|||||||||||
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.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 Mark
public Stroke getStroke()
getStroke
in interface Mark
public Expression getWellKnownName()
getWellKnownName
in interface Mark
public void setFill(Fill fill)
setFill
in interface Mark
fill
- New value of property fill.public void setStroke(Stroke stroke)
setStroke
in interface Mark
stroke
- New value of property stroke.public void setSize(Expression size)
setSize
in interface Mark
public void setSize(int size)
public void setWellKnownName(Expression wellKnownName)
setWellKnownName
in interface Mark
wellKnownName
- New value of property wellKnownName.public void setWellKnownName(java.lang.String name)
public void setRotation(Expression rotation)
setRotation
in interface Mark
public void setRotation(double rotation)
public Expression getSize()
getSize
in interface Mark
public Expression getRotation()
getRotation
in interface Mark
public java.lang.String toString()
public void accept(StyleVisitor visitor)
accept
in interface Mark
public java.lang.Object clone()
Only the fill and stroke are cloned since Expressions should be immutable.
clone
in interface org.opengis.util.Cloneable
clone
in class AbstractGTComponent
org.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 |