public class KMLBalloonStyle extends KMLAbstractSubStyle
MSG_BOX_CHANGED, MSG_GEOMETRY_CHANGED, MSG_LINK_CHANGED, MSG_STYLE_CHANGED, MSG_TIME_CHANGED, MSG_VIEW_CHANGEDCHARACTERS_CONTENT, fields, namespaceURI, parent| Constructor and Description |
|---|
KMLBalloonStyle(String namespaceURI)
Construct an instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBgColor()
Specifies this
KMLBalloonStyle's background color as a hexadecimal string in the form: aabbggrr. |
String |
getColor()
Specifies this
KMLBalloonStyle's background color as a hexadecimal string in the form: aabbggrr
(deprecated). |
String |
getDisplayMode() |
String |
getText()
Get the text field.
|
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).
|
applyChangegetId, getRoot, getTargetId, onChange, onMessageallocate, 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, setParentpublic KMLBalloonStyle(String namespaceURI)
namespaceURI - the qualifying namespace URI. May be null to indicate no namespace qualification.public 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 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 String getDisplayMode()
public String getText()
public String getTextColor()
public boolean hasStyleFields()