Class TLcdKML22ListStyle

All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdKML22ListStyle extends TLcdKML22AbstractSubStyle
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 Details

    • LIST_ITEM_TYPE_PROPERTY

      public static final TLcdDataProperty LIST_ITEM_TYPE_PROPERTY
      Data property that maps to the listItemType element. The possible values for this property are instances of ELcdKML22ListItemType.
    • BACKGROUND_COLOR_PROPERTY

      public static final TLcdDataProperty BACKGROUND_COLOR_PROPERTY
      Data property that maps to the bgColor element. The possible values for this property are instances of Color.
    • ITEM_ICON_PROPERTY

      public static final TLcdDataProperty ITEM_ICON_PROPERTY
      Data property that maps to the ItemIcon element. The possible values for this property are instances of List<TLcdKML22ItemIcon>.
    • MAX_SNIPPET_LINES_PROPERTY

      public static final TLcdDataProperty MAX_SNIPPET_LINES_PROPERTY
      Data property that maps to the maxSnippetLines element. The possible values for this property are instances of Integer.
    • LIST_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY

      public static final TLcdDataProperty LIST_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY
      Data property that maps to the ListStyleSimpleExtensionGroup element. The possible values for this property are instances of List<String>.
    • LIST_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY

      public static final TLcdDataProperty LIST_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY
      Data property that maps to the ListStyleObjectExtensionGroup element. The possible values for this property are instances of List<TLcdKML22AbstractObject>.
    • ABSTRACT_SUB_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY

      public static final TLcdDataProperty ABSTRACT_SUB_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY
      Data property that maps to the AbstractSubStyleSimpleExtensionGroup element. The possible values for this property are instances of List<String>.
    • ABSTRACT_SUB_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY

      public static final TLcdDataProperty ABSTRACT_SUB_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY
      Data property that maps to the AbstractSubStyleObjectExtensionGroup element. The possible values for this property are instances of List<TLcdKML22AbstractObject>.
  • Constructor Details

    • TLcdKML22ListStyle

      public TLcdKML22ListStyle(TLcdDataType aDataType)
    • TLcdKML22ListStyle

      public TLcdKML22ListStyle()
  • Method Details

    • getItemIconMap

      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.

      Returns:
      a map containing item icon states as keys, and item icon href as values. If this TLcdKML22ListStyle instance contains no item icons, an empty Map will be returned.
    • getListItemType

      public ELcdKML22ListItemType getListItemType()
      Returns the value of the property that maps to the listItemType element.
      Returns:
      the value of the LIST_ITEM_TYPE_PROPERTY property.
    • setListItemType

      public void setListItemType(ELcdKML22ListItemType aValue)
      Sets the value of the property that maps to the listItemType element.
      Parameters:
      aValue - the value to set for the LIST_ITEM_TYPE_PROPERTY property.
    • getBackgroundColor

      public Color getBackgroundColor()
      Returns the value of the property that maps to the bgColor element.
      Returns:
      the value of the BACKGROUND_COLOR_PROPERTY property.
    • setBackgroundColor

      public void setBackgroundColor(Color aValue)
      Sets the value of the property that maps to the bgColor element.
      Parameters:
      aValue - the value to set for the BACKGROUND_COLOR_PROPERTY property.
    • getItemIcon

      public List<TLcdKML22ItemIcon> getItemIcon()
      Returns the value of the property that maps to the ItemIcon element.
      Returns:
      the value of the ITEM_ICON_PROPERTY property.
    • getMaxSnippetLines

      public Integer getMaxSnippetLines()
      Returns the value of the property that maps to the maxSnippetLines element.
      Returns:
      the value of the MAX_SNIPPET_LINES_PROPERTY property.
    • setMaxSnippetLines

      public void setMaxSnippetLines(Integer aValue)
      Sets the value of the property that maps to the maxSnippetLines element.
      Parameters:
      aValue - the value to set for the MAX_SNIPPET_LINES_PROPERTY property.