Class TLcdKML22PolyStyle
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.TLcdKML22PolyStyle
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
Domain class modeling the KML PolyStyleType type.
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.
- Since:
- 10.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to theAbstractColorStyleObjectExtensionGroup
element.static final TLcdDataProperty
Data property that maps to theAbstractColorStyleSimpleExtensionGroup
element.static final TLcdDataProperty
Data property that maps to theAbstractSubStyleObjectExtensionGroup
element.static final TLcdDataProperty
Data property that maps to theAbstractSubStyleSimpleExtensionGroup
element.static final TLcdDataProperty
Data property that maps to thecolorMode
element.static final TLcdDataProperty
Data property that maps to thecolor
element.static final Color
static final TLcdDataProperty
Data property that maps to thefill
element.static final TLcdDataProperty
Data property that maps to theoutline
element.static final TLcdDataProperty
Data property that maps to thePolyStyleObjectExtensionGroup
element.static final TLcdDataProperty
Data property that maps to thePolyStyleSimpleExtensionGroup
element.Fields inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY
-
Constructor Summary
ConstructorDescriptionTLcdKML22PolyStyle
(TLcdDataType aType) Creates a newTLcdKML22PolyStyle
with a customTLcdDataType
. -
Method Summary
Modifier and TypeMethodDescriptiongetFill()
Gets the fill value of this poly style.Gets the outline value of this poly style.void
Sets the value of the property that maps to thecolor
element.void
setColorMode
(ELcdKML22ColorMode aValue) Sets the value of the property that maps to thecolorMode
element.void
Sets the value of the property that maps to thefill
element.void
setOutline
(Boolean aValue) Sets the value of the property that maps to theoutline
element.Methods inherited from class com.luciad.format.kml22.model.style.TLcdKML22AbstractColorStyle
getColor, getColorMode
Methods inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
getId, getTargetId, setId, setTargetId
-
Field Details
-
DEFAULT_COLOR
-
FILL_PROPERTY
Data property that maps to thefill
element. The possible values for this property are instances ofBoolean
. -
OUTLINE_PROPERTY
Data property that maps to theoutline
element. The possible values for this property are instances ofBoolean
. -
POLY_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to thePolyStyleSimpleExtensionGroup
element. The possible values for this property are instances ofList<String>
. -
POLY_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to thePolyStyleObjectExtensionGroup
element. The possible values for this property are instances ofList<TLcdKML22AbstractObject>
. -
COLOR_PROPERTY
Data property that maps to thecolor
element. The possible values for this property are instances ofColor
. -
COLOR_MODE_PROPERTY
Data property that maps to thecolorMode
element. The possible values for this property are instances ofELcdKML22ColorMode
. -
ABSTRACT_COLOR_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theAbstractColorStyleSimpleExtensionGroup
element. The possible values for this property are instances ofList<String>
. -
ABSTRACT_COLOR_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theAbstractColorStyleObjectExtensionGroup
element. The possible values for this property are instances ofList<TLcdKML22AbstractObject>
. -
ABSTRACT_SUB_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theAbstractSubStyleSimpleExtensionGroup
element. The possible values for this property are instances ofList<String>
. -
ABSTRACT_SUB_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theAbstractSubStyleObjectExtensionGroup
element. The possible values for this property are instances ofList<TLcdKML22AbstractObject>
.
-
-
Constructor Details
-
TLcdKML22PolyStyle
Creates a newTLcdKML22PolyStyle
with a customTLcdDataType
.- Parameters:
aType
- a customTLcdDataType
-
-
Method Details
-
getFill
Gets the fill value of this poly style. If no fill value was defined, it will return the default value of (true).- Returns:
- the fill of this poly style.
-
getOutline
Gets the outline value of this poly style. If no outline value was defined, it will return the default value of (true).- Returns:
- the outline of this poly style.
-
setFill
Sets the value of the property that maps to thefill
element.- Parameters:
aValue
- the value to set for theFILL_PROPERTY
property.
-
setOutline
Sets the value of the property that maps to theoutline
element.- Parameters:
aValue
- the value to set for theOUTLINE_PROPERTY
property.
-
setColor
Sets the value of the property that maps to thecolor
element.- Parameters:
aValue
- the value to set for theCOLOR_PROPERTY
property.
-
setColorMode
Sets the value of the property that maps to thecolorMode
element.- Parameters:
aValue
- the value to set for theCOLOR_MODE_PROPERTY
property.
-