|
|||||||||||
| 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.TextSymbolizerImpl
Provides a Java representation of an SLD TextSymbolizer that defines how text symbols should be rendered.
| Field Summary |
| Fields inherited from class org.geotools.event.AbstractGTComponent |
notification |
| Constructor Summary | |
protected |
TextSymbolizerImpl()
Creates a new instance of DefaultTextSymbolizer |
| Method Summary | |
void |
accept(StyleVisitor visitor)
Accept a StyleVisitor to perform an operation on this symbolizer. |
void |
addFont(Font font)
Setter for property font. |
void |
addToOptions(java.lang.String key,
java.lang.String value)
adds a parameter value to the options map |
java.lang.Object |
clone()
Creates a deep copy clone. |
boolean |
equals(java.lang.Object oth)
|
java.lang.String |
geometryPropertyName()
This property defines the geometry to be used for styling. |
Fill |
getFill()
Returns the fill to be used to fill the text when rendered. |
Font[] |
getFonts()
Returns a device independent Font object that is to be used to render the label. |
java.lang.String |
getGeometryPropertyName()
Getter for property geometryPropertyName. |
Graphic |
getGraphic()
|
Halo |
getHalo()
A halo fills an extended area outside the glyphs of a rendered text label to make the label easier to read over a background. |
Expression |
getLabel()
Returns the label expression. |
LabelPlacement |
getLabelPlacement()
Deprecated. use getPlacement() |
java.lang.String |
getOption(java.lang.String key)
Find the value of a key in the map (may return null) |
java.util.Map |
getOptions()
return the map of option |
LabelPlacement |
getPlacement()
A pointPlacement specifies how a text element should be rendered relative to its geometric point. |
Expression |
getPriority()
Priority -- null = use the default labeling priority Expression = an expression that evaluates to a number (ie. |
int |
hashCode()
|
void |
setFill(Fill fill)
Setter for property fill. |
void |
setFonts(Font[] fonts)
Sets the list of fonts in the TextSymbolizer to the provided array of Fonts. |
void |
setGeometryPropertyName(java.lang.String geometryPropertyName)
Setter for property geometryPropertyName. |
void |
setGraphic(Graphic graphic)
|
void |
setHalo(Halo halo)
Setter for property halo. |
void |
setLabel(Expression label)
Setter for property label. |
void |
setLabelPlacement(LabelPlacement labelPlacement)
Deprecated. use setPlacement(LabelPlacement) |
void |
setPlacement(LabelPlacement labelPlacement)
Setter for property labelPlacement. |
void |
setPriority(Expression priority)
Priority -- null = use the default labeling priority Expression = an expression that evaluates to a number (ie. |
| 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 TextSymbolizerImpl()
| Method Detail |
public java.lang.String geometryPropertyName()
public Fill getFill()
getFill in interface TextSymbolizerpublic void setFill(Fill fill)
setFill in interface TextSymbolizerfill - New value of property fill.public Font[] getFonts()
getFonts in interface TextSymbolizerpublic void addFont(Font font)
font - New value of property font.public void setFonts(Font[] fonts)
setFonts in interface TextSymbolizerfonts - The array of fonts to use in the symbolizer.public Halo getHalo()
getHalo in interface TextSymbolizerpublic void setHalo(Halo halo)
setHalo in interface TextSymbolizerhalo - New value of property halo.public Expression getLabel()
getLabel in interface TextSymbolizerpublic void setLabel(Expression label)
setLabel in interface TextSymbolizerlabel - New value of property label.public LabelPlacement getPlacement()
getPlacement in interface TextSymbolizerpublic void setPlacement(LabelPlacement labelPlacement)
setPlacement in interface TextSymbolizerlabelPlacement - New value of property labelPlacement.public LabelPlacement getLabelPlacement()
getLabelPlacement in interface TextSymbolizerpublic void setLabelPlacement(LabelPlacement labelPlacement)
setLabelPlacement in interface TextSymbolizerlabelPlacement - New value of property labelPlacement.public java.lang.String getGeometryPropertyName()
getGeometryPropertyName in interface TextSymbolizerpublic void setGeometryPropertyName(java.lang.String geometryPropertyName)
setGeometryPropertyName in interface TextSymbolizergeometryPropertyName - New value of property geometryPropertyName.public void accept(StyleVisitor visitor)
accept in interface Symbolizervisitor - The StyleVisitor to accept.public java.lang.Object clone()
clone in interface org.opengis.util.Cloneableclone in class AbstractGTComponentjava.lang.AssertionError - DOCUMENT ME!public int hashCode()
public boolean equals(java.lang.Object oth)
public void setPriority(Expression priority)
TextSymbolizer
setPriority in interface TextSymbolizerpriority - public Expression getPriority()
TextSymbolizer
getPriority in interface TextSymbolizer
public void addToOptions(java.lang.String key,
java.lang.String value)
TextSymbolizer
addToOptions in interface TextSymbolizerkey - value - public java.lang.String getOption(java.lang.String key)
TextSymbolizer
getOption in interface TextSymbolizerkey -
public java.util.Map getOptions()
TextSymbolizer
getOptions in interface TextSymbolizerpublic Graphic getGraphic()
getGraphic in interface TextSymbolizer2public void setGraphic(Graphic graphic)
setGraphic in interface TextSymbolizer2
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||