Class TLcdKML22PolyStyle

All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdKML22PolyStyle extends TLcdKML22AbstractColorStyle
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 Details

    • DEFAULT_COLOR

      public static final Color DEFAULT_COLOR
    • FILL_PROPERTY

      public static final TLcdDataProperty FILL_PROPERTY
      Data property that maps to the fill element. The possible values for this property are instances of Boolean.
    • OUTLINE_PROPERTY

      public static final TLcdDataProperty OUTLINE_PROPERTY
      Data property that maps to the outline element. The possible values for this property are instances of Boolean.
    • POLY_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY

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

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

      public static final TLcdDataProperty COLOR_PROPERTY
      Data property that maps to the color element. The possible values for this property are instances of Color.
    • COLOR_MODE_PROPERTY

      public static final TLcdDataProperty COLOR_MODE_PROPERTY
      Data property that maps to the colorMode element. The possible values for this property are instances of ELcdKML22ColorMode.
    • ABSTRACT_COLOR_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY

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

      public static final TLcdDataProperty ABSTRACT_COLOR_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY
      Data property that maps to the AbstractColorStyleObjectExtensionGroup 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

    • TLcdKML22PolyStyle

      public TLcdKML22PolyStyle(TLcdDataType aType)
      Creates a new TLcdKML22PolyStyle with a custom TLcdDataType.
      Parameters:
      aType - a custom TLcdDataType
  • Method Details

    • getFill

      public Boolean 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

      public Boolean 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

      public void setFill(Boolean aValue)
      Sets the value of the property that maps to the fill element.
      Parameters:
      aValue - the value to set for the FILL_PROPERTY property.
    • setOutline

      public void setOutline(Boolean aValue)
      Sets the value of the property that maps to the outline element.
      Parameters:
      aValue - the value to set for the OUTLINE_PROPERTY property.
    • setColor

      public void setColor(Color aValue)
      Sets the value of the property that maps to the color element.
      Parameters:
      aValue - the value to set for the COLOR_PROPERTY property.
    • setColorMode

      public void setColorMode(ELcdKML22ColorMode aValue)
      Sets the value of the property that maps to the colorMode element.
      Parameters:
      aValue - the value to set for the COLOR_MODE_PROPERTY property.