Class TLcdSLDTextSymbolizer
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A builder for SLD text symbolizers. -
Constructor Summary
ConstructorDescriptionEmpty constructor.TLcdSLDTextSymbolizer
(TLcdDataType aDataType) Empty constructor.TLcdSLDTextSymbolizer
(TLcdSLDGeometry aGeometry, TLcdSLDParameterValue aLabel, TLcdSLDFont aFont, TLcdSLDLabelPlacement aLabelPlacement, TLcdSLDHalo aHalo, TLcdSLDFill aFill) Constructor for given parameters. -
Method Summary
Modifier and TypeMethodDescriptiongetFill()
Returns the value of the property that maps to theFill
element.getFont()
Returns the value of the property that maps to theFont
element.Returns the value of the property that maps to theGeometry
element.Returns the value of the property that maps to theGraphic
element.getHalo()
Returns the value of the property that maps to theHalo
element.getLabel()
Returns the value of the property that maps to theLabel
element.Returns the value of the property that maps to theLabelPlacement
element.Returns the value of the property that maps to theVendorOption
element.Creates a new builder with the default values.void
setFill
(TLcdSLDFill aValue) Sets the value of the property that maps to theFill
element.void
setFont
(TLcdSLDFont aValue) Sets the value of the property that maps to theFont
element.void
setGeometry
(TLcdSLDGeometry aValue) Sets the value of the property that maps to theGeometry
element.void
setGraphic
(TLcdSLDGraphic aValue) Sets the value of the property that maps to theGraphic
element.void
setHalo
(TLcdSLDHalo aValue) Sets the value of the property that maps to theHalo
element.void
setLabel
(TLcdSLDParameterValue aValue) Sets the value of the property that maps to theLabel
element.void
Sets the value of the property that maps to theLabelPlacement
element.Methods inherited from class com.luciad.ogc.sld.model.ALcdSLDSymbolizer
getDescription, getName, getUom, getVersion, setDescription, setName, setUom, setVersion, toString
Methods inherited from class com.luciad.datamodel.TLcdDataObject
clone, clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
-
Constructor Details
-
TLcdSLDTextSymbolizer
public TLcdSLDTextSymbolizer()Empty constructor. -
TLcdSLDTextSymbolizer
public TLcdSLDTextSymbolizer(TLcdSLDGeometry aGeometry, TLcdSLDParameterValue aLabel, TLcdSLDFont aFont, TLcdSLDLabelPlacement aLabelPlacement, TLcdSLDHalo aHalo, TLcdSLDFill aFill) Constructor for given parameters.- Parameters:
aGeometry
- the given geometry.aLabel
- the given label.aFont
- the given font.aLabelPlacement
- the given label placement.aHalo
- the given halo.aFill
- the given fill.
-
TLcdSLDTextSymbolizer
Empty constructor.
-
-
Method Details
-
newBuilder
Creates a new builder with the default values.- Returns:
- the new builder.
- Since:
- 2012.1
-
getGeometry
Returns the value of the property that maps to theGeometry
element.A Geometry gives reference to a (the) geometry property of a feature to be used for rendering. The geometry is optional and may thus be null. If null, the default geometry of an object should be rendered with a stroke. E.g. when a ILcdModel contains ILcdShape objects, the geometry may be null as the object itself is a geometry.
- Returns:
- the value of the
GEOMETRY_PROPERTY
property.
-
setGeometry
Sets the value of the property that maps to theGeometry
element.A Geometry gives reference to a (the) geometry property of a feature to be used for rendering. The geometry is optional and may thus be null. If null, the default geometry of an object should be rendered with a stroke. E.g. when a ILcdModel contains ILcdShape objects, the geometry may be null as the object itself is a geometry.
- Parameters:
aValue
- the value to set for theGEOMETRY_PROPERTY
property.
-
getLabel
Returns the value of the property that maps to theLabel
element.A "Label" specifies the textual content to be rendered. Null is allowed.
- Returns:
- the value of the
LABEL_PROPERTY
property.
-
setLabel
Sets the value of the property that maps to theLabel
element.A "Label" specifies the textual content to be rendered. Null is allowed.
- Parameters:
aValue
- the value to set for theLABEL_PROPERTY
property.
-
getFont
Returns the value of the property that maps to theFont
element.A "Font" element specifies the text font to use. The allowed CssParameters are: "font-family", "font-style", "font-weight", and "font-size".
- Returns:
- the value of the
FONT_PROPERTY
property.
-
setFont
Sets the value of the property that maps to theFont
element.A "Font" element specifies the text font to use. The allowed CssParameters are: "font-family", "font-style", "font-weight", and "font-size".
- Parameters:
aValue
- the value to set for theFONT_PROPERTY
property.
-
getLabelPlacement
Returns the value of the property that maps to theLabelPlacement
element.The "LabelPlacement" specifies where and how a text label should be rendered relative to a geometry. The present mechanism is poorly aligned with CSS/SVG.
- Returns:
- the value of the
LABEL_PLACEMENT_PROPERTY
property.
-
setLabelPlacement
Sets the value of the property that maps to theLabelPlacement
element.The "LabelPlacement" specifies where and how a text label should be rendered relative to a geometry. The present mechanism is poorly aligned with CSS/SVG.
- Parameters:
aValue
- the value to set for theLABEL_PLACEMENT_PROPERTY
property.
-
getHalo
Returns the value of the property that maps to theHalo
element.A "Halo" fills an extended area outside the glyphs of a rendered text label to make the label easier to read over a background.
- Returns:
- the value of the
HALO_PROPERTY
property.
-
setHalo
Sets the value of the property that maps to theHalo
element.A "Halo" fills an extended area outside the glyphs of a rendered text label to make the label easier to read over a background.
- Parameters:
aValue
- the value to set for theHALO_PROPERTY
property.
-
getFill
Returns the value of the property that maps to theFill
element.A "Fill" specifies the pattern for filling an area geometry. The allowed CssParameters are: "fill" (color) and "fill-opacity".
- Returns:
- the value of the
FILL_PROPERTY
property.
-
setFill
Sets the value of the property that maps to theFill
element.A "Fill" specifies the pattern for filling an area geometry. The allowed CssParameters are: "fill" (color) and "fill-opacity".
- Parameters:
aValue
- the value to set for theFILL_PROPERTY
property.
-
getGraphic
Returns the value of the property that maps to theGraphic
element.A "Graphic" specifies or refers to a "graphic symbol" with inherent shape, size, and coloring.
- Returns:
- the value of the
GRAPHIC_PROPERTY
property.
-
setGraphic
Sets the value of the property that maps to theGraphic
element.A "Graphic" specifies or refers to a "graphic symbol" with inherent shape, size, and coloring.
- Parameters:
aValue
- the value to set for theGRAPHIC_PROPERTY
property.
-
getVendorOptions
Returns the value of the property that maps to theVendorOption
element.- Returns:
- the value of the
VENDOR_OPTION_PROPERTY
property.
-