public class KMLBalloonStyle extends KMLAbstractSubStyle
MSG_BOX_CHANGED, MSG_GEOMETRY_CHANGED, MSG_LINK_CHANGED, MSG_STYLE_CHANGED, MSG_TIME_CHANGED, MSG_VIEW_CHANGED
CHARACTERS_CONTENT, fields, namespaceURI, parent
Constructor and Description |
---|
KMLBalloonStyle(java.lang.String namespaceURI)
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBgColor()
Specifies this
KMLBalloonStyle 's background color as a hexadecimal string in the form: aabbggrr. |
java.lang.String |
getColor()
Specifies this
KMLBalloonStyle 's background color as a hexadecimal string in the form: aabbggrr
(deprecated). |
java.lang.String |
getDisplayMode() |
java.lang.String |
getText()
Get the text field.
|
java.lang.String |
getTextColor() |
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).
|
applyChange
getId, getRoot, getTargetId, onChange, onMessage
allocate, doAddCharacters, doAddEventAttribute, doAddEventContent, doParseEventAttributes, doParseEventContent, freeResources, getAConstructor, getCharacters, getField, getField, getFields, getNamespaceURI, getParent, hasField, hasField, hasFields, mergeFields, newInstance, overrideFields, parse, parseCharacterContent, removeField, setField, setField, setFields, setNamespaceURI, setParent
public KMLBalloonStyle(java.lang.String namespaceURI)
namespaceURI
- the qualifying namespace URI. May be null to indicate no namespace qualification.public java.lang.String getBgColor()
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.public java.lang.String getColor()
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
.public java.lang.String getDisplayMode()
public java.lang.String getText()
public java.lang.String getTextColor()
public boolean hasStyleFields()