Class TLcdKML22BalloonStyle
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.format.kml22.model.TLcdKML22AbstractObject
com.luciad.format.kml22.model.style.TLcdKML22AbstractSubStyle
com.luciad.format.kml22.model.style.TLcdKML22BalloonStyle
- All Implemented Interfaces:
ILcdDataObject,ILcdCloneable,ILcdDeepCloneable,Cloneable
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final TLcdDataPropertyData property that maps to theAbstractSubStyleObjectExtensionGroupelement.static final TLcdDataPropertyData property that maps to theAbstractSubStyleSimpleExtensionGroupelement.static final TLcdDataPropertyData property that maps to theBalloonStyleObjectExtensionGroupelement.static final TLcdDataPropertyData property that maps to theBalloonStyleSimpleExtensionGroupelement.static final TLcdDataPropertyData property that maps to the choice between thecolorandbgColorelements.static final TLcdDataPropertyData property that maps to thedisplayModeelement.static final TLcdDataPropertyData property that maps to thetextColorelement.static final TLcdDataPropertyData property that maps to thetextelement.Fields inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY -
Constructor Summary
ConstructorsConstructorDescriptionCreates a newTLcdKML22BalloonStylewith a customTLcdDataType. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the property that maps to the choice between thecolorandbgColorelements.Gets the display mode of this balloon style.getText()Returns the value of the property that maps to thetextelement.Returns the value of the property that maps to thetextColorelement.voidsetBgColor(Color aValue) Sets the value of the property that maps to the choice between thecolorandbgColorelements.voidsetDisplayMode(ELcdKML22DisplayMode aValue) Sets the value of the property that maps to thedisplayModeelement.voidSets the value of the property that maps to thetextelement.voidsetTextColor(Color aValue) Sets the value of the property that maps to thetextColorelement.Methods inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
getId, getTargetId, setId, setTargetId
-
Field Details
-
BG_COLOR_PROPERTY
Data property that maps to the choice between thecolorandbgColorelements. The possible values for this property are instances ofColorColor
-
TEXT_COLOR_PROPERTY
Data property that maps to thetextColorelement. The possible values for this property are instances ofColor. -
TEXT_PROPERTY
Data property that maps to thetextelement. The possible values for this property are instances ofString. -
DISPLAY_MODE_PROPERTY
Data property that maps to thedisplayModeelement. The possible values for this property are instances ofELcdKML22DisplayMode. -
BALLOON_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theBalloonStyleSimpleExtensionGroupelement. The possible values for this property are instances ofList<String>. -
BALLOON_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theBalloonStyleObjectExtensionGroupelement. The possible values for this property are instances ofList<TLcdKML22AbstractObject>. -
ABSTRACT_SUB_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theAbstractSubStyleSimpleExtensionGroupelement. The possible values for this property are instances ofList<String>. -
ABSTRACT_SUB_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theAbstractSubStyleObjectExtensionGroupelement. The possible values for this property are instances ofList<TLcdKML22AbstractObject>.
-
-
Constructor Details
-
TLcdKML22BalloonStyle
Creates a newTLcdKML22BalloonStylewith a customTLcdDataType.- Parameters:
aType- a customTLcdDataType
-
-
Method Details
-
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
Returns the value of the property that maps to the choice between thecolorandbgColorelements.The possible values for this property are instances of
ColorColor
- Returns:
- the value of the
BG_COLOR_PROPERTYproperty.
-
setBgColor
Sets the value of the property that maps to the choice between thecolorandbgColorelements.The possible values for this property are instances of
ColorColor
- Parameters:
aValue- the value to set for theBG_COLOR_PROPERTYproperty.
-
getTextColor
Returns the value of the property that maps to thetextColorelement.- Returns:
- the value of the
TEXT_COLOR_PROPERTYproperty.
-
setTextColor
Sets the value of the property that maps to thetextColorelement.- Parameters:
aValue- the value to set for theTEXT_COLOR_PROPERTYproperty.
-
getText
Returns the value of the property that maps to thetextelement.- Returns:
- the value of the
TEXT_PROPERTYproperty.
-
setText
Sets the value of the property that maps to thetextelement.- Parameters:
aValue- the value to set for theTEXT_PROPERTYproperty.
-
setDisplayMode
Sets the value of the property that maps to thedisplayModeelement.- Parameters:
aValue- the value to set for theDISPLAY_MODE_PROPERTYproperty.
-