Class TLcdKML22LabelStyle
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.format.kml22.model.TLcdKML22AbstractObject
com.luciad.format.kml22.model.style.TLcdKML22AbstractSubStyle
com.luciad.format.kml22.model.style.TLcdKML22AbstractColorStyle
com.luciad.format.kml22.model.style.TLcdKML22LabelStyle
- All Implemented Interfaces:
ILcdDataObject,ILcdCloneable,ILcdDeepCloneable,Cloneable
Domain class modeling the KML LabelStyleType type.
OGC KML Specification description:
This element can be used wherever the following element is referenced: -kml:AbstractColorStyleGroup Specifies how the name of a kml:AbstractFeatureGroup is drawn in the geographic view. A user-defined color, color mode, and scale for the value of the name can be specified. kml:LabelStyle should contain at least one child element outside of an update context, that is when not a descendant of kml:Update.
- Since:
- 10.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TLcdDataPropertyData property that maps to theAbstractColorStyleObjectExtensionGroupelement.static final TLcdDataPropertyData property that maps to theAbstractColorStyleSimpleExtensionGroupelement.static final TLcdDataPropertyData property that maps to theAbstractSubStyleObjectExtensionGroupelement.static final TLcdDataPropertyData property that maps to theAbstractSubStyleSimpleExtensionGroupelement.static final TLcdDataPropertyData property that maps to thecolorModeelement.static final TLcdDataPropertyData property that maps to thecolorelement.static final TLcdDataPropertyData property that maps to theLabelStyleObjectExtensionGroupelement.static final TLcdDataPropertyData property that maps to theLabelStyleSimpleExtensionGroupelement.static final TLcdDataPropertyData property that maps to thescaleelement.Fields inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetScale()Returns the value of the property that maps to thescaleelement.voidSets the value of the property that maps to thecolorelement.voidsetColorMode(ELcdKML22ColorMode aValue) Sets the value of the property that maps to thecolorModeelement.voidSets the value of the property that maps to thescaleelement.Methods inherited from class com.luciad.format.kml22.model.style.TLcdKML22AbstractColorStyle
getColor, getColorModeMethods inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
getId, getTargetId, setId, setTargetId
-
Field Details
-
SCALE_PROPERTY
Data property that maps to thescaleelement. The possible values for this property are instances ofDouble. -
LABEL_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theLabelStyleSimpleExtensionGroupelement. The possible values for this property are instances ofList<String>. -
LABEL_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theLabelStyleObjectExtensionGroupelement. The possible values for this property are instances ofList<TLcdKML22AbstractObject>. -
COLOR_PROPERTY
Data property that maps to thecolorelement. The possible values for this property are instances ofColor. -
COLOR_MODE_PROPERTY
Data property that maps to thecolorModeelement. The possible values for this property are instances ofELcdKML22ColorMode. -
ABSTRACT_COLOR_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theAbstractColorStyleSimpleExtensionGroupelement. The possible values for this property are instances ofList<String>. -
ABSTRACT_COLOR_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theAbstractColorStyleObjectExtensionGroupelement. The possible values for this property are instances ofList<TLcdKML22AbstractObject>. -
ABSTRACT_SUB_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theAbstractSubStyleSimpleExtensionGroupelement. The possible values for this property are instances ofList<String>. -
ABSTRACT_SUB_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theAbstractSubStyleObjectExtensionGroupelement. The possible values for this property are instances ofList<TLcdKML22AbstractObject>.
-
-
Constructor Details
-
TLcdKML22LabelStyle
public TLcdKML22LabelStyle() -
TLcdKML22LabelStyle
-
-
Method Details
-
getScale
Returns the value of the property that maps to thescaleelement.- Returns:
- the value of the
SCALE_PROPERTYproperty.
-
setScale
Sets the value of the property that maps to thescaleelement.- Parameters:
aValue- the value to set for theSCALE_PROPERTYproperty.
-
setColor
Sets the value of the property that maps to thecolorelement.- Parameters:
aValue- the value to set for theCOLOR_PROPERTYproperty.
-
setColorMode
Sets the value of the property that maps to thecolorModeelement.- Parameters:
aValue- the value to set for theCOLOR_MODE_PROPERTYproperty.
-