|
|||||||||||
| 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 TextSymbolizerpublic void setLabel(ParameterValueType label)
public Font getFont()
getFont in interface TextSymbolizerpublic void setFont(Font font)
setFont in interface TextSymbolizerfont - the fontpublic LabelPlacement getLabelPlacement()
getLabelPlacement in interface TextSymbolizerpublic void setLabelPlacement(LabelPlacement labelPlacement)
setLabelPlacement in interface TextSymbolizerlabelPlacement - the labelPlacementpublic Halo getHalo()
getHalo in interface TextSymbolizerpublic void setHalo(Halo halo)
setHalo in interface TextSymbolizerhalo - the halopublic Fill getFill()
getFill in interface TextSymbolizerpublic void setFill(Fill fill)
setFill in interface TextSymbolizerfill - 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 | ||||||||||