public class TLcdKML22ListStyle extends TLcdKML22AbstractSubStyle
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.
Modifier and Type | Field and Description |
---|---|
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 |
BACKGROUND_COLOR_PROPERTY
Data property that maps to the
bgColor element. |
static TLcdDataProperty |
ITEM_ICON_PROPERTY
Data property that maps to the
ItemIcon element. |
static TLcdDataProperty |
LIST_ITEM_TYPE_PROPERTY
Data property that maps to the
listItemType element. |
static TLcdDataProperty |
LIST_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to the
ListStyleObjectExtensionGroup element. |
static TLcdDataProperty |
LIST_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to the
ListStyleSimpleExtensionGroup element. |
static TLcdDataProperty |
MAX_SNIPPET_LINES_PROPERTY
Data property that maps to the
maxSnippetLines element. |
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY
Constructor and Description |
---|
TLcdKML22ListStyle() |
TLcdKML22ListStyle(TLcdDataType aDataType) |
Modifier and Type | Method and Description |
---|---|
Color |
getBackgroundColor()
Returns the value of the property that maps to the
bgColor element. |
List<TLcdKML22ItemIcon> |
getItemIcon()
Returns the value of the property that maps to the
ItemIcon element. |
Map<ELcdKML22ItemIconState,String> |
getItemIconMap()
Returns a
Map that contains all the item icon states described in this list
style. |
ELcdKML22ListItemType |
getListItemType()
Returns the value of the property that maps to the
listItemType element. |
Integer |
getMaxSnippetLines()
Returns the value of the property that maps to the
maxSnippetLines element. |
void |
setBackgroundColor(Color aValue)
Sets the value of the property that maps to the
bgColor element. |
void |
setListItemType(ELcdKML22ListItemType aValue)
Sets the value of the property that maps to the
listItemType element. |
void |
setMaxSnippetLines(Integer aValue)
Sets the value of the property that maps to the
maxSnippetLines element. |
getId, getTargetId, setId, setTargetId
public static final TLcdDataProperty LIST_ITEM_TYPE_PROPERTY
listItemType
element.
The possible values for this property are instances of ELcdKML22ListItemType
.public static final TLcdDataProperty BACKGROUND_COLOR_PROPERTY
bgColor
element.
The possible values for this property are instances of Color
.public static final TLcdDataProperty ITEM_ICON_PROPERTY
ItemIcon
element.
The possible values for this property are instances of List<TLcdKML22ItemIcon>
.public static final TLcdDataProperty MAX_SNIPPET_LINES_PROPERTY
maxSnippetLines
element.
The possible values for this property are instances of Integer
.public static final TLcdDataProperty LIST_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY
ListStyleSimpleExtensionGroup
element.
The possible values for this property are instances of List<String>
.public static final TLcdDataProperty LIST_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY
ListStyleObjectExtensionGroup
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 TLcdKML22ListStyle(TLcdDataType aDataType)
public TLcdKML22ListStyle()
public Map<ELcdKML22ItemIconState,String> getItemIconMap()
Returns a Map
that contains all the item icon states described in this list
style. The Map
contains item icon states as keys and item icon href as values.
Item icons that define multiple states will have separate keys in the returned
Map
.
TLcdKML22ListStyle
instance contains no item icons, an empty
Map
will be returned.public ELcdKML22ListItemType getListItemType()
listItemType
element.LIST_ITEM_TYPE_PROPERTY
property.public void setListItemType(ELcdKML22ListItemType aValue)
listItemType
element.aValue
- the value to set for the LIST_ITEM_TYPE_PROPERTY
property.public Color getBackgroundColor()
bgColor
element.BACKGROUND_COLOR_PROPERTY
property.public void setBackgroundColor(Color aValue)
bgColor
element.aValue
- the value to set for the BACKGROUND_COLOR_PROPERTY
property.public List<TLcdKML22ItemIcon> getItemIcon()
ItemIcon
element.ITEM_ICON_PROPERTY
property.public Integer getMaxSnippetLines()
maxSnippetLines
element.MAX_SNIPPET_LINES_PROPERTY
property.public void setMaxSnippetLines(Integer aValue)
maxSnippetLines
element.aValue
- the value to set for the MAX_SNIPPET_LINES_PROPERTY
property.