Class TLcdKML22ListStyle
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.TLcdKML22ListStyle
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
Domain class modeling the KML ListStyleType type.
OGC KML Specification description:
This element can be used wherever the following element is referenced: -kml:AbstractColorStyleGroup Specifies how a kml:AbstractFeatureGroup is displayed in the list view. kml:ListStyle 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 theAbstractSubStyleObjectExtensionGroup
element.static final TLcdDataProperty
Data property that maps to theAbstractSubStyleSimpleExtensionGroup
element.static final TLcdDataProperty
Data property that maps to thebgColor
element.static final TLcdDataProperty
Data property that maps to theItemIcon
element.static final TLcdDataProperty
Data property that maps to thelistItemType
element.static final TLcdDataProperty
Data property that maps to theListStyleObjectExtensionGroup
element.static final TLcdDataProperty
Data property that maps to theListStyleSimpleExtensionGroup
element.static final TLcdDataProperty
Data property that maps to themaxSnippetLines
element.Fields inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the property that maps to thebgColor
element.Returns the value of the property that maps to theItemIcon
element.Returns aMap
that contains all the item icon states described in this list style.Returns the value of the property that maps to thelistItemType
element.Returns the value of the property that maps to themaxSnippetLines
element.void
setBackgroundColor
(Color aValue) Sets the value of the property that maps to thebgColor
element.void
setListItemType
(ELcdKML22ListItemType aValue) Sets the value of the property that maps to thelistItemType
element.void
setMaxSnippetLines
(Integer aValue) Sets the value of the property that maps to themaxSnippetLines
element.Methods inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
getId, getTargetId, setId, setTargetId
-
Field Details
-
LIST_ITEM_TYPE_PROPERTY
Data property that maps to thelistItemType
element. The possible values for this property are instances ofELcdKML22ListItemType
. -
BACKGROUND_COLOR_PROPERTY
Data property that maps to thebgColor
element. The possible values for this property are instances ofColor
. -
ITEM_ICON_PROPERTY
Data property that maps to theItemIcon
element. The possible values for this property are instances ofList<TLcdKML22ItemIcon>
. -
MAX_SNIPPET_LINES_PROPERTY
Data property that maps to themaxSnippetLines
element. The possible values for this property are instances ofInteger
. -
LIST_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theListStyleSimpleExtensionGroup
element. The possible values for this property are instances ofList<String>
. -
LIST_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theListStyleObjectExtensionGroup
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
-
TLcdKML22ListStyle
-
TLcdKML22ListStyle
public TLcdKML22ListStyle()
-
-
Method Details
-
getItemIconMap
Returns a
Map
that contains all the item icon states described in this list style. TheMap
contains item icon states as keys and item icon href as values. Item icons that define multiple states will have separate keys in the returnedMap
.- Returns:
- a map containing item icon states as keys, and item icon href as values. If this
TLcdKML22ListStyle
instance contains no item icons, an emptyMap
will be returned.
-
getListItemType
Returns the value of the property that maps to thelistItemType
element.- Returns:
- the value of the
LIST_ITEM_TYPE_PROPERTY
property.
-
setListItemType
Sets the value of the property that maps to thelistItemType
element.- Parameters:
aValue
- the value to set for theLIST_ITEM_TYPE_PROPERTY
property.
-
getBackgroundColor
Returns the value of the property that maps to thebgColor
element.- Returns:
- the value of the
BACKGROUND_COLOR_PROPERTY
property.
-
setBackgroundColor
Sets the value of the property that maps to thebgColor
element.- Parameters:
aValue
- the value to set for theBACKGROUND_COLOR_PROPERTY
property.
-
getItemIcon
Returns the value of the property that maps to theItemIcon
element.- Returns:
- the value of the
ITEM_ICON_PROPERTY
property.
-
getMaxSnippetLines
Returns the value of the property that maps to themaxSnippetLines
element.- Returns:
- the value of the
MAX_SNIPPET_LINES_PROPERTY
property.
-
setMaxSnippetLines
Sets the value of the property that maps to themaxSnippetLines
element.- Parameters:
aValue
- the value to set for theMAX_SNIPPET_LINES_PROPERTY
property.
-