|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectMarkImpl
public class MarkImpl
Default implementation of Mark.
modules/library/main (gt-main.jar)
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,
ExternalMark external)
|
|
MarkImpl(String name)
|
Method Summary | |
---|---|
void |
accept(StyleVisitor visitor)
|
Object |
accept(StyleVisitor visitor,
Object data)
|
Object |
clone()
Creates a deep copy of the Mark. |
boolean |
equals(Object oth)
Compares this MarkImpl with another for equality. |
ExternalMarkImpl |
getExternalMark()
|
FillImpl |
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. |
StrokeImpl |
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 |
setExternalMark(ExternalMark external)
|
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, ExternalMark external)
Method Detail |
---|
public FillImpl getFill()
getFill
in interface Mark
public StrokeImpl getStroke()
getStroke
in interface Mark
public Expression getWellKnownName()
getWellKnownName
in interface Mark
public void setFill(Fill fill)
fill
- New value of property fill.public void setStroke(Stroke stroke)
stroke
- New value of property stroke.public void setSize(Expression size)
public void setSize(int size)
public void setWellKnownName(Expression wellKnownName)
wellKnownName
- New value of property wellKnownName.public void setWellKnownName(String name)
public void setRotation(Expression rotation)
public void setRotation(double rotation)
public Expression getSize()
public Expression getRotation()
public String toString()
toString
in class Object
public Object accept(StyleVisitor visitor, Object data)
accept
in interface Mark
public void accept(StyleVisitor visitor)
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.
public ExternalMarkImpl getExternalMark()
getExternalMark
in interface Mark
public void setExternalMark(ExternalMark external)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |