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
FieldsModifier and TypeFieldDescriptionstatic final TLcdDataPropertyData property that maps to theAbstractSubStyleObjectExtensionGroupelement.static final TLcdDataPropertyData property that maps to theAbstractSubStyleSimpleExtensionGroupelement.static final TLcdDataPropertyData property that maps to thebgColorelement.static final TLcdDataPropertyData property that maps to theItemIconelement.static final TLcdDataPropertyData property that maps to thelistItemTypeelement.static final TLcdDataPropertyData property that maps to theListStyleObjectExtensionGroupelement.static final TLcdDataPropertyData property that maps to theListStyleSimpleExtensionGroupelement.static final TLcdDataPropertyData property that maps to themaxSnippetLineselement.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 TypeMethodDescriptionReturns the value of the property that maps to thebgColorelement.Returns the value of the property that maps to theItemIconelement.Returns aMapthat contains all the item icon states described in this list style.Returns the value of the property that maps to thelistItemTypeelement.Returns the value of the property that maps to themaxSnippetLineselement.voidsetBackgroundColor(Color aValue) Sets the value of the property that maps to thebgColorelement.voidsetListItemType(ELcdKML22ListItemType aValue) Sets the value of the property that maps to thelistItemTypeelement.voidsetMaxSnippetLines(Integer aValue) Sets the value of the property that maps to themaxSnippetLineselement.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 thelistItemTypeelement. The possible values for this property are instances ofELcdKML22ListItemType. -
BACKGROUND_COLOR_PROPERTY
Data property that maps to thebgColorelement. The possible values for this property are instances ofColor. -
ITEM_ICON_PROPERTY
Data property that maps to theItemIconelement. The possible values for this property are instances ofList<TLcdKML22ItemIcon>. -
MAX_SNIPPET_LINES_PROPERTY
Data property that maps to themaxSnippetLineselement. The possible values for this property are instances ofInteger. -
LIST_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theListStyleSimpleExtensionGroupelement. The possible values for this property are instances ofList<String>. -
LIST_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theListStyleObjectExtensionGroupelement. 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
-
TLcdKML22ListStyle
-
TLcdKML22ListStyle
public TLcdKML22ListStyle()
-
-
Method Details
-
getItemIconMap
Returns a
Mapthat contains all the item icon states described in this list style. TheMapcontains 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
TLcdKML22ListStyleinstance contains no item icons, an emptyMapwill be returned.
-
getListItemType
Returns the value of the property that maps to thelistItemTypeelement.- Returns:
- the value of the
LIST_ITEM_TYPE_PROPERTYproperty.
-
setListItemType
Sets the value of the property that maps to thelistItemTypeelement.- Parameters:
aValue- the value to set for theLIST_ITEM_TYPE_PROPERTYproperty.
-
getBackgroundColor
Returns the value of the property that maps to thebgColorelement.- Returns:
- the value of the
BACKGROUND_COLOR_PROPERTYproperty.
-
setBackgroundColor
Sets the value of the property that maps to thebgColorelement.- Parameters:
aValue- the value to set for theBACKGROUND_COLOR_PROPERTYproperty.
-
getItemIcon
Returns the value of the property that maps to theItemIconelement.- Returns:
- the value of the
ITEM_ICON_PROPERTYproperty.
-
getMaxSnippetLines
Returns the value of the property that maps to themaxSnippetLineselement.- Returns:
- the value of the
MAX_SNIPPET_LINES_PROPERTYproperty.
-
setMaxSnippetLines
Sets the value of the property that maps to themaxSnippetLineselement.- Parameters:
aValue- the value to set for theMAX_SNIPPET_LINES_PROPERTYproperty.
-