Class TLcdKML22BalloonStyle

All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdKML22BalloonStyle extends TLcdKML22AbstractSubStyle
Domain class modeling the KML BalloonStyleType type.

OGC KML Specification description:

 This element can be used wherever the following element is referenced:

  -kml:AbstractSubStyleGroup

 Specifies how the description balloon for a kml:AbstractFeatureGroup is drawn.
 kml:BalloonStyle 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

    • BG_COLOR_PROPERTY

      public static final TLcdDataProperty BG_COLOR_PROPERTY
      Data property that maps to the choice between the color and bgColor elements. The possible values for this property are instances of
      • Color
      • Color
    • TEXT_COLOR_PROPERTY

      public static final TLcdDataProperty TEXT_COLOR_PROPERTY
      Data property that maps to the textColor element. The possible values for this property are instances of Color.
    • TEXT_PROPERTY

      public static final TLcdDataProperty TEXT_PROPERTY
      Data property that maps to the text element. The possible values for this property are instances of String.
    • DISPLAY_MODE_PROPERTY

      public static final TLcdDataProperty DISPLAY_MODE_PROPERTY
      Data property that maps to the displayMode element. The possible values for this property are instances of ELcdKML22DisplayMode.
    • BALLOON_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY

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

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

    • TLcdKML22BalloonStyle

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

    • getDisplayMode

      public ELcdKML22DisplayMode getDisplayMode()
      Gets the display mode of this balloon style. If no display mode was defined, it will return a default display mode.
      Returns:
      an ELcdKML22DisplayMode
    • getBgColor

      public Color getBgColor()
      Returns the value of the property that maps to the choice between the color and bgColor elements.

      The possible values for this property are instances of

      • Color
      • Color
      Returns:
      the value of the BG_COLOR_PROPERTY property.
    • setBgColor

      public void setBgColor(Color aValue)
      Sets the value of the property that maps to the choice between the color and bgColor elements.

      The possible values for this property are instances of

      • Color
      • Color
      Parameters:
      aValue - the value to set for the BG_COLOR_PROPERTY property.
    • getTextColor

      public Color getTextColor()
      Returns the value of the property that maps to the textColor element.
      Returns:
      the value of the TEXT_COLOR_PROPERTY property.
    • setTextColor

      public void setTextColor(Color aValue)
      Sets the value of the property that maps to the textColor element.
      Parameters:
      aValue - the value to set for the TEXT_COLOR_PROPERTY property.
    • getText

      public String getText()
      Returns the value of the property that maps to the text element.
      Returns:
      the value of the TEXT_PROPERTY property.
    • setText

      public void setText(String aValue)
      Sets the value of the property that maps to the text element.
      Parameters:
      aValue - the value to set for the TEXT_PROPERTY property.
    • setDisplayMode

      public void setDisplayMode(ELcdKML22DisplayMode aValue)
      Sets the value of the property that maps to the displayMode element.
      Parameters:
      aValue - the value to set for the DISPLAY_MODE_PROPERTY property.