|
||||||||||
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.
modules/library/main (gt-main.jar)
Constructor Summary | |
---|---|
protected |
TextSymbolizerImpl()
|
protected |
TextSymbolizerImpl(FilterFactory factory)
Creates a new instance of DefaultTextSymbolizer |
protected |
TextSymbolizerImpl(FilterFactory factory,
Description desc,
String name,
Unit<Length> uom)
|
Method Summary | |
---|---|
void |
accept(StyleVisitor visitor)
|
Object |
accept(StyleVisitor visitor,
Object data)
Accept a StyleVisitor to perform an operation on this symbolizer. |
void |
addFont(Font font)
Deprecated. |
void |
addToOptions(String key,
String value)
|
Object |
clone()
Creates a deep copy clone. |
boolean |
equals(Object oth)
|
String |
geometryPropertyName()
This property defines the geometry to be used for styling. |
DescriptionImpl |
getDescription()
|
Expression |
getFeatureDescription()
Description is used by text oriented renders such as KML and RSS to specify a feature's description |
FillImpl |
getFill()
Returns the fill to be used to fill the text when rendered. |
Font |
getFont()
|
Font[] |
getFonts()
Deprecated. |
String |
getGeometryPropertyName()
Getter for property geometryPropertyName. |
Graphic |
getGraphic()
The nonstandard-SLD graphic element supports putting little graphical-bits onto labels. |
HaloImpl |
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()
A pointPlacement specifies how a text element should be rendered relative to its geometric point. |
String |
getName()
|
String |
getOption(String key)
|
Map<String,String> |
getOptions()
|
OtherText |
getOtherText()
Other text can be used to allow open ended extensions on text oriented output formats |
LabelPlacement |
getPlacement()
Deprecated. |
Expression |
getPriority()
|
Expression |
getSnippet()
Abstract is used by text oriented renderers such as KML and RSS to specify an abstract (RSS) or a snippet (KML) |
Unit<Length> |
getUnitOfMeasure()
|
int |
hashCode()
|
void |
setDescription(Description description)
|
void |
setFeatureDescription(Expression description)
|
void |
setFill(Fill fill)
Setter for property fill. |
void |
setFont(Font font)
|
void |
setFonts(Font[] fonts)
Deprecated. |
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)
Setter for property labelPlacement. |
void |
setName(String name)
|
void |
setOtherText(OtherText otherText)
|
void |
setPlacement(LabelPlacement labelPlacement)
Deprecated. Use setLabelPlacement |
void |
setPriority(Expression priority)
|
void |
setSnippet(Expression abxtract)
|
void |
setUnitOfMeasure(Unit<Length> uom)
|
String |
toString()
|
Methods inherited from class Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected TextSymbolizerImpl()
protected TextSymbolizerImpl(FilterFactory factory)
protected TextSymbolizerImpl(FilterFactory factory, Description desc, String name, Unit<Length> uom)
Method Detail |
---|
public String getName()
getName
in interface Symbolizer
public void setName(String name)
public DescriptionImpl getDescription()
getDescription
in interface Symbolizer
public void setDescription(Description description)
public Unit<Length> getUnitOfMeasure()
getUnitOfMeasure
in interface Symbolizer
public void setUnitOfMeasure(Unit<Length> uom)
public String geometryPropertyName()
public FillImpl getFill()
getFill
in interface TextSymbolizer
public void setFill(Fill fill)
fill
- New value of property fill.public Font getFont()
getFont
in interface TextSymbolizer
public void setFont(Font font)
@Deprecated public Font[] getFonts()
@Deprecated public void addFont(Font font)
font
- New value of property font.@Deprecated public void setFonts(Font[] fonts)
fonts
- The array of fonts to use in the symbolizer.public HaloImpl getHalo()
getHalo
in interface TextSymbolizer
public void setHalo(Halo halo)
halo
- New value of property halo.public Expression getLabel()
getLabel
in interface TextSymbolizer
public void setLabel(Expression label)
label
- New value of property label.@Deprecated public LabelPlacement getPlacement()
public void setPlacement(LabelPlacement labelPlacement)
labelPlacement
- New value of property labelPlacement.public LabelPlacement getLabelPlacement()
getLabelPlacement
in interface TextSymbolizer
public void setLabelPlacement(LabelPlacement labelPlacement)
labelPlacement
- New value of property labelPlacement.public String getGeometryPropertyName()
getGeometryPropertyName
in interface Symbolizer
public void setGeometryPropertyName(String geometryPropertyName)
geometryPropertyName
- New value of property geometryPropertyName.public Object accept(StyleVisitor visitor, Object data)
accept
in interface Symbolizer
accept
in interface TextSymbolizer
visitor
- The StyleVisitor to accept.public void accept(StyleVisitor visitor)
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)
public Expression getPriority()
public void addToOptions(String key, String value)
public String getOption(String key)
public Map<String,String> getOptions()
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 |