|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectTextSymbolizerImpl
public class TextSymbolizerImpl
Provides a Java representation of an SLD TextSymbolizer that defines how text symbols should be rendered.
Constructor Summary | |
---|---|
protected |
TextSymbolizerImpl()
|
protected |
TextSymbolizerImpl(FilterFactory factory)
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(String key,
String value)
adds a parameter value to the options map |
Object |
clone()
Creates a deep copy clone. |
boolean |
equals(Object oth)
|
String |
geometryPropertyName()
This property defines the geometry to be used for styling. |
Expression |
getFeatureDescription()
Description is used by text oriented renders such as KML and RSS to specify a feature's description |
Fill |
getFill()
Returns the fill to be used to fill the text when rendered. |
Font |
getFont()
Font to use when rendering this symbolizer. |
Font[] |
getFonts()
Returns a device independent Font object that is to be used to render the label. |
String |
getGeometryPropertyName()
Getter for property geometryPropertyName. |
Graphic |
getGraphic()
The nonstandard-SLD graphic element supports putting little graphical-bits onto labels. |
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() |
String |
getOption(String key)
Find the value of a key in the map (may return null) |
Map<String,String> |
getOptions()
return the map of option |
OtherText |
getOtherText()
Other text can be used to allow open ended extensions on text oriented output formats |
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. |
Expression |
getSnippet()
Abstract is used by text oriented renderers such as KML and RSS to specify an abstract (RSS) or a snippet (KML) |
int |
hashCode()
|
void |
setFeatureDescription(Expression description)
|
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(String geometryPropertyName)
Setter for property geometryPropertyName. |
void |
setGraphic(Graphic graphic)
The nonstandard-SLD graphic element supports putting little graphical-bits onto labels. |
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 |
setOtherText(OtherText otherText)
|
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. |
void |
setSnippet(Expression abxtract)
|
String |
toString()
|
Methods inherited from class Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected TextSymbolizerImpl()
protected TextSymbolizerImpl(FilterFactory factory)
Method Detail |
---|
public String geometryPropertyName()
public Fill getFill()
getFill
in interface TextSymbolizer
public void setFill(Fill fill)
setFill
in interface TextSymbolizer
fill
- New value of property fill.public Font[] getFonts()
getFonts
in interface TextSymbolizer
public Font getFont()
TextSymbolizer
getFont
in interface TextSymbolizer
public void addFont(Font font)
font
- New value of property font.public void setFonts(Font[] fonts)
setFonts
in interface TextSymbolizer
fonts
- The array of fonts to use in the symbolizer.public Halo getHalo()
getHalo
in interface TextSymbolizer
public void setHalo(Halo halo)
setHalo
in interface TextSymbolizer
halo
- New value of property halo.public Expression getLabel()
getLabel
in interface TextSymbolizer
public void setLabel(Expression label)
setLabel
in interface TextSymbolizer
label
- New value of property label.public LabelPlacement getPlacement()
getPlacement
in interface TextSymbolizer
public void setPlacement(LabelPlacement labelPlacement)
setPlacement
in interface TextSymbolizer
labelPlacement
- New value of property labelPlacement.public LabelPlacement getLabelPlacement()
getLabelPlacement
in interface TextSymbolizer
public void setLabelPlacement(LabelPlacement labelPlacement)
setLabelPlacement
in interface TextSymbolizer
labelPlacement
- New value of property labelPlacement.public String getGeometryPropertyName()
getGeometryPropertyName
in interface TextSymbolizer
public void setGeometryPropertyName(String geometryPropertyName)
setGeometryPropertyName
in interface TextSymbolizer
geometryPropertyName
- New value of property geometryPropertyName.public void accept(StyleVisitor visitor)
accept
in interface Symbolizer
visitor
- The StyleVisitor to accept.public Object clone()
clone
in class Object
AssertionError
- DOCUMENT ME!public int hashCode()
hashCode
in class Object
public boolean equals(Object oth)
equals
in class Object
public void setPriority(Expression priority)
TextSymbolizer
setPriority
in interface TextSymbolizer
public Expression getPriority()
TextSymbolizer
getPriority
in interface TextSymbolizer
public void addToOptions(String key, String value)
TextSymbolizer
addToOptions
in interface TextSymbolizer
public String getOption(String key)
TextSymbolizer
getOption
in interface TextSymbolizer
public Map<String,String> getOptions()
TextSymbolizer
getOptions
in interface TextSymbolizer
public Graphic getGraphic()
TextSymbolizer2
getGraphic
in interface TextSymbolizer2
public void setGraphic(Graphic graphic)
TextSymbolizer2
setGraphic
in interface TextSymbolizer2
graphic
- - the Graphic object which will be rendered under the label textpublic String toString()
toString
in class Object
public Expression getSnippet()
TextSymbolizer2
getSnippet
in interface TextSymbolizer2
public void setSnippet(Expression abxtract)
setSnippet
in interface TextSymbolizer2
public Expression getFeatureDescription()
TextSymbolizer2
getFeatureDescription
in interface TextSymbolizer2
public void setFeatureDescription(Expression description)
setFeatureDescription
in interface TextSymbolizer2
public OtherText getOtherText()
TextSymbolizer2
getOtherText
in interface TextSymbolizer2
public void setOtherText(OtherText otherText)
setOtherText
in interface TextSymbolizer2
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |