|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.graphics.sld.Symbolizer_Impl
org.deegree_impl.graphics.sld.TextSymbolizer_Impl
Used to render a text label, according to the parameters. A missing Geometry, Label, Font, or LabelPlacement element selects the default value or behavior for the element. The default Label, Font, and LabelPlacement are system- dependent. Multiple Font elements may be used to specify alternate fonts in order of preference in case a map server does not support the first preference. A missing Halo or Fill element means that no halo or fill will be plotted, respectively. The Fill is rendered over top of the Halo, and the Halo includes the interiors of the font glyphs.
Field Summary | |
private Fill |
fill
|
private Font |
font
|
private Halo |
halo
|
private ParameterValueType |
label
|
private LabelPlacement |
labelPlacement
|
Fields inherited from class org.deegree_impl.graphics.sld.Symbolizer_Impl |
geometry, maxDenominator, minDenominator |
Constructor Summary | |
(package private) |
TextSymbolizer_Impl(Geometry geometry,
ParameterValueType label,
Font font,
LabelPlacement labelPlacement,
Halo halo,
Fill fill,
double min,
double max)
constructor initializing the class with the |
Method Summary | |
java.lang.String |
exportAsXML()
exports the content of the TextSymbolizer as XML formated String |
Fill |
getFill()
A Fill allows area geometries to be filled. |
Font |
getFont()
Identifies a Font of a certain family, style, and size. |
Halo |
getHalo()
A Halo is an extension (sub-type) of a Fill and is applied to the backgrounds of font glyphs. |
ParameterValueType |
getLabel()
returns the Label as a ParameterValueType to be renderd |
LabelPlacement |
getLabelPlacement()
Used to position a label relative to a point or a line string. |
void |
setFill(Fill fill)
sets the |
void |
setFont(Font font)
Sets a Font of a certain family, style, and size. |
void |
setHalo(Halo halo)
sets |
void |
setLabel(ParameterValueType label)
sets the |
void |
setLabelPlacement(LabelPlacement labelPlacement)
sets the |
Methods inherited from class org.deegree_impl.graphics.sld.Symbolizer_Impl |
getGeometry, getMaxScaleDenominator, getMinScaleDenominator, setGeometry, setMaxScaleDenominator, setMinScaleDenominator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.deegree.graphics.sld.Symbolizer |
getGeometry, getMaxScaleDenominator, getMinScaleDenominator, setGeometry, setMaxScaleDenominator, setMinScaleDenominator |
Field Detail |
private Fill fill
private Font font
private Halo halo
private LabelPlacement labelPlacement
private ParameterValueType label
Constructor Detail |
TextSymbolizer_Impl(Geometry geometry, ParameterValueType label, Font font, LabelPlacement labelPlacement, Halo halo, Fill fill, double min, double max)
Method Detail |
public ParameterValueType getLabel()
getLabel
in interface TextSymbolizer
public void setLabel(ParameterValueType label)
public Font getFont()
getFont
in interface TextSymbolizer
public void setFont(Font font)
setFont
in interface TextSymbolizer
font
- the fontpublic LabelPlacement getLabelPlacement()
getLabelPlacement
in interface TextSymbolizer
public void setLabelPlacement(LabelPlacement labelPlacement)
setLabelPlacement
in interface TextSymbolizer
labelPlacement
- the labelPlacementpublic Halo getHalo()
getHalo
in interface TextSymbolizer
public void setHalo(Halo halo)
setHalo
in interface TextSymbolizer
halo
- the halopublic Fill getFill()
getFill
in interface TextSymbolizer
public void setFill(Fill fill)
setFill
in interface TextSymbolizer
fill
- the fillpublic java.lang.String exportAsXML()
exportAsXML
in interface Marshallable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |