|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAbstractSymbolizer
TextSymbolizerImpl
public class TextSymbolizerImpl
Provides a Java representation of an SLD TextSymbolizer that defines how text symbols should be rendered.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface TextSymbolizer |
---|
TextSymbolizer.PolygonAlignOptions |
Field Summary |
---|
Fields inherited from class AbstractSymbolizer |
---|
geometry, name, options, unitOfMeasure |
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)
Adds a parameter value to the options map |
Object |
clone()
Creates a deep copy clone. |
boolean |
equals(Object obj)
|
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 to use when rendering this symbolizer. |
Font[] |
getFonts()
Deprecated. |
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 |
getOption(String key)
Find the value of a key in the map (may return null) |
OtherText |
getOtherText()
Other text can be used to allow open ended extensions on text oriented output formats |
LabelPlacement |
getPlacement()
Deprecated. |
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 |
setFont(Font font)
Font used when rendering this symbolizer. |
void |
setFonts(Font[] fonts)
Deprecated. |
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 |
setOtherText(OtherText otherText)
|
void |
setPlacement(LabelPlacement labelPlacement)
Deprecated. Use setLabelPlacement |
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 AbstractSymbolizer |
---|
getDescription, getGeometry, getGeometryPropertyName, getName, getOptions, getUnitOfMeasure, hasOption, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasure |
Methods inherited from class Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface TextSymbolizer |
---|
getOptions |
Methods inherited from interface Symbolizer |
---|
getDescription, getGeometry, getGeometryPropertyName, hasOption, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasure |
Methods inherited from interface Symbolizer |
---|
getName, getUnitOfMeasure |
Constructor Detail |
---|
protected TextSymbolizerImpl()
protected TextSymbolizerImpl(FilterFactory factory)
protected TextSymbolizerImpl(FilterFactory factory, Description desc, String name, Unit<Length> uom)
Method Detail |
---|
public FillImpl getFill()
getFill
in interface TextSymbolizer
public void setFill(Fill fill)
fill
- New value of property fill.public Font getFont()
TextSymbolizer
getFont
in interface TextSymbolizer
public void setFont(Font font)
TextSymbolizer
@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 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!Object.clone()
public void setPriority(Expression priority)
TextSymbolizer
public Expression getPriority()
TextSymbolizer
public void addToOptions(String key, String value)
TextSymbolizer
public String getOption(String key)
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
public int hashCode()
hashCode
in class AbstractSymbolizer
public boolean equals(Object obj)
equals
in class AbstractSymbolizer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |