|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectMarkImpl
public class MarkImpl
Default implementation of Mark.
Field Summary |
---|
Fields inherited from interface Mark |
---|
MARKS_EMPTY |
Fields inherited from interface Symbol |
---|
SYMBOLS_EMPTY |
Constructor Summary | |
---|---|
MarkImpl()
Creates a new instance of DefaultMark |
|
MarkImpl(FilterFactory filterFactory)
|
|
MarkImpl(String name)
|
Method Summary | |
---|---|
void |
accept(StyleVisitor visitor)
|
Object |
clone()
Creates a deep copy of the Mark. |
boolean |
equals(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(String name)
|
String |
toString()
|
Methods inherited from class Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MarkImpl()
public MarkImpl(String name)
public MarkImpl(FilterFactory filterFactory)
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(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 String toString()
toString
in class Object
public void accept(StyleVisitor visitor)
accept
in interface Mark
accept
in interface Symbol
public Object clone()
Only the fill and stroke are cloned since Expressions should be immutable.
clone
in class Object
org.geotools.styling.Mark#clone()
public int hashCode()
hashCode
in class Object
public boolean equals(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.
equals
in class Object
oth
- The Other MarkImpl to compare with.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |