|
||||||||||
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.
modules/library/main (gt-main.jar)
Field Summary |
---|
Fields inherited from class AbstractSymbolizer |
---|
geometry, name, 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)
|
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[] |
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)
|
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) |
int |
hashCode()
|
void |
setFeatureDescription(Expression description)
|
void |
setFill(Fill fill)
Setter for property fill. |
void |
setFont(Font font)
|
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)
|
void |
setSnippet(Expression abxtract)
|
String |
toString()
|
Methods inherited from class AbstractSymbolizer |
---|
getDescription, getGeometry, getGeometryPropertyName, getName, getUnitOfMeasure, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasure |
Methods inherited from class Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface Symbolizer |
---|
getName, getUnitOfMeasure |
Methods inherited from interface Symbolizer |
---|
getDescription, getGeometry, getGeometryPropertyName, 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()
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 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 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
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 |