public class TLcdKML22LabelStyle extends TLcdKML22AbstractColorStyle
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.
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
ABSTRACT_COLOR_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to the
AbstractColorStyleObjectExtensionGroup element. |
static TLcdDataProperty |
ABSTRACT_COLOR_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to the
AbstractColorStyleSimpleExtensionGroup element. |
static TLcdDataProperty |
ABSTRACT_SUB_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to the
AbstractSubStyleObjectExtensionGroup element. |
static TLcdDataProperty |
ABSTRACT_SUB_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to the
AbstractSubStyleSimpleExtensionGroup element. |
static TLcdDataProperty |
COLOR_MODE_PROPERTY
Data property that maps to the
colorMode element. |
static TLcdDataProperty |
COLOR_PROPERTY
Data property that maps to the
color element. |
static TLcdDataProperty |
LABEL_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to the
LabelStyleObjectExtensionGroup element. |
static TLcdDataProperty |
LABEL_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to the
LabelStyleSimpleExtensionGroup element. |
static TLcdDataProperty |
SCALE_PROPERTY
Data property that maps to the
scale element. |
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY
Constructor and Description |
---|
TLcdKML22LabelStyle() |
TLcdKML22LabelStyle(TLcdDataType aType) |
Modifier and Type | Method and Description |
---|---|
Double |
getScale()
Returns the value of the property that maps to the
scale element. |
void |
setColor(Color aValue)
Sets the value of the property that maps to the
color element. |
void |
setColorMode(ELcdKML22ColorMode aValue)
Sets the value of the property that maps to the
colorMode element. |
void |
setScale(Double aValue)
Sets the value of the property that maps to the
scale element. |
getColor, getColorMode
getId, getTargetId, setId, setTargetId
public static final TLcdDataProperty SCALE_PROPERTY
scale
element.
The possible values for this property are instances of Double
.public static final TLcdDataProperty LABEL_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY
LabelStyleSimpleExtensionGroup
element.
The possible values for this property are instances of List<String>
.public static final TLcdDataProperty LABEL_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY
LabelStyleObjectExtensionGroup
element.
The possible values for this property are instances of List<TLcdKML22AbstractObject>
.public static final TLcdDataProperty COLOR_PROPERTY
color
element.
The possible values for this property are instances of Color
.public static final TLcdDataProperty COLOR_MODE_PROPERTY
colorMode
element.
The possible values for this property are instances of ELcdKML22ColorMode
.public static final TLcdDataProperty ABSTRACT_COLOR_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY
AbstractColorStyleSimpleExtensionGroup
element.
The possible values for this property are instances of List<String>
.public static final TLcdDataProperty ABSTRACT_COLOR_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY
AbstractColorStyleObjectExtensionGroup
element.
The possible values for this property are instances of List<TLcdKML22AbstractObject>
.public static final TLcdDataProperty ABSTRACT_SUB_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY
AbstractSubStyleSimpleExtensionGroup
element.
The possible values for this property are instances of List<String>
.public static final TLcdDataProperty ABSTRACT_SUB_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY
AbstractSubStyleObjectExtensionGroup
element.
The possible values for this property are instances of List<TLcdKML22AbstractObject>
.public TLcdKML22LabelStyle()
public TLcdKML22LabelStyle(TLcdDataType aType)
public Double getScale()
scale
element.SCALE_PROPERTY
property.public void setScale(Double aValue)
scale
element.aValue
- the value to set for the SCALE_PROPERTY
property.public void setColor(Color aValue)
color
element.aValue
- the value to set for the COLOR_PROPERTY
property.public void setColorMode(ELcdKML22ColorMode aValue)
colorMode
element.aValue
- the value to set for the COLOR_MODE_PROPERTY
property.