public class TLcdKML22PolyStyle extends TLcdKML22AbstractColorStyle
OGC KML Specification description:
This element can be used wherever the following element is referenced: -kml:AbstractColorStyleGroup Specifies the drawing style for a kml:Polygon, including a kml:Polygon and the extruded portion of a kml:Polygon or kml:LineString. kml:PolyStyle 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 Color |
DEFAULT_COLOR |
static TLcdDataProperty |
FILL_PROPERTY
Data property that maps to the
fill element. |
static TLcdDataProperty |
OUTLINE_PROPERTY
Data property that maps to the
outline element. |
static TLcdDataProperty |
POLY_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to the
PolyStyleObjectExtensionGroup element. |
static TLcdDataProperty |
POLY_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to the
PolyStyleSimpleExtensionGroup element. |
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY
Constructor and Description |
---|
TLcdKML22PolyStyle(TLcdDataType aType)
Creates a new
TLcdKML22PolyStyle with a custom TLcdDataType . |
Modifier and Type | Method and Description |
---|---|
Boolean |
getFill()
Gets the fill value of this poly style.
|
Boolean |
getOutline()
Gets the outline value of this poly style.
|
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 |
setFill(Boolean aValue)
Sets the value of the property that maps to the
fill element. |
void |
setOutline(Boolean aValue)
Sets the value of the property that maps to the
outline element. |
getColor, getColorMode
getId, getTargetId, setId, setTargetId
public static final Color DEFAULT_COLOR
public static final TLcdDataProperty FILL_PROPERTY
fill
element.
The possible values for this property are instances of Boolean
.public static final TLcdDataProperty OUTLINE_PROPERTY
outline
element.
The possible values for this property are instances of Boolean
.public static final TLcdDataProperty POLY_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY
PolyStyleSimpleExtensionGroup
element.
The possible values for this property are instances of List<String>
.public static final TLcdDataProperty POLY_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY
PolyStyleObjectExtensionGroup
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 TLcdKML22PolyStyle(TLcdDataType aType)
TLcdKML22PolyStyle
with a custom TLcdDataType
.aType
- a custom TLcdDataType
public Boolean getFill()
public Boolean getOutline()
public void setFill(Boolean aValue)
fill
element.aValue
- the value to set for the FILL_PROPERTY
property.public void setOutline(Boolean aValue)
outline
element.aValue
- the value to set for the OUTLINE_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.