Class KMLBalloonStyle

    • Constructor Detail

      • KMLBalloonStyle

        public KMLBalloonStyle​(java.lang.String namespaceURI)
        Construct an instance.
        Parameters:
        namespaceURI - the qualifying namespace URI. May be null to indicate no namespace qualification.
    • Method Detail

      • getColor

        public java.lang.String getColor()
        Specifies this KMLBalloonStyle's background color as a hexadecimal string in the form: aabbggrr (deprecated). The color style attribute was Deprecated in KML 2.1 and replaced by bgColor.
        Returns:
        the background color as a hexadecimal string.
      • getBgColor

        public java.lang.String getBgColor()
        Specifies this KMLBalloonStyle's background color as a hexadecimal string in the form: aabbggrr. This is the preferred attribute for encoding a balloon's background color since KML 2.1.
        Returns:
        the background color as a hexadecimal string.
      • getTextColor

        public java.lang.String getTextColor()
      • getText

        public java.lang.String getText()
        Get the text field.
        Returns:
        Balloon text field.
      • getDisplayMode

        public java.lang.String getDisplayMode()
      • hasStyleFields

        public boolean hasStyleFields()
        Does the style have at least one BalloonStyle field set? This method tests for the existence of the BalloonStyle content fields (text, displayMode, bgColor, etc).
        Returns:
        True if at least one of the BalloonStyle fields is set (text, displayMode, bgColor, etc).