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
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to theAbstractSubStyleObjectExtensionGroup
element.static final TLcdDataProperty
Data property that maps to theAbstractSubStyleSimpleExtensionGroup
element.static final TLcdDataProperty
Data property that maps to theBalloonStyleObjectExtensionGroup
element.static final TLcdDataProperty
Data property that maps to theBalloonStyleSimpleExtensionGroup
element.static final TLcdDataProperty
Data property that maps to the choice between thecolor
andbgColor
elements.static final TLcdDataProperty
Data property that maps to thedisplayMode
element.static final TLcdDataProperty
Data property that maps to thetextColor
element.static final TLcdDataProperty
Data property that maps to thetext
element.Fields inherited from class com.luciad.format.kml22.model.TLcdKML22AbstractObject
ID_PROPERTY, OBJECT_SIMPLE_EXTENSION_GROUP_PROPERTY, TARGET_ID_PROPERTY
-
Constructor Summary
ConstructorDescriptionCreates a newTLcdKML22BalloonStyle
with a customTLcdDataType
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the property that maps to the choice between thecolor
andbgColor
elements.Gets the display mode of this balloon style.getText()
Returns the value of the property that maps to thetext
element.Returns the value of the property that maps to thetextColor
element.void
setBgColor
(Color aValue) Sets the value of the property that maps to the choice between thecolor
andbgColor
elements.void
setDisplayMode
(ELcdKML22DisplayMode aValue) Sets the value of the property that maps to thedisplayMode
element.void
Sets the value of the property that maps to thetext
element.void
setTextColor
(Color aValue) Sets the value of the property that maps to thetextColor
element.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 thecolor
andbgColor
elements. The possible values for this property are instances ofColor
Color
-
TEXT_COLOR_PROPERTY
Data property that maps to thetextColor
element. The possible values for this property are instances ofColor
. -
TEXT_PROPERTY
Data property that maps to thetext
element. The possible values for this property are instances ofString
. -
DISPLAY_MODE_PROPERTY
Data property that maps to thedisplayMode
element. The possible values for this property are instances ofELcdKML22DisplayMode
. -
BALLOON_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theBalloonStyleSimpleExtensionGroup
element. The possible values for this property are instances ofList<String>
. -
BALLOON_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theBalloonStyleObjectExtensionGroup
element. The possible values for this property are instances ofList<TLcdKML22AbstractObject>
. -
ABSTRACT_SUB_STYLE_SIMPLE_EXTENSION_GROUP_PROPERTY
Data property that maps to theAbstractSubStyleSimpleExtensionGroup
element. The possible values for this property are instances ofList<String>
. -
ABSTRACT_SUB_STYLE_OBJECT_EXTENSION_GROUP_PROPERTY
Data property that maps to theAbstractSubStyleObjectExtensionGroup
element. The possible values for this property are instances ofList<TLcdKML22AbstractObject>
.
-
-
Constructor Details
-
TLcdKML22BalloonStyle
Creates a newTLcdKML22BalloonStyle
with 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 thecolor
andbgColor
elements.The possible values for this property are instances of
Color
Color
- Returns:
- the value of the
BG_COLOR_PROPERTY
property.
-
setBgColor
Sets the value of the property that maps to the choice between thecolor
andbgColor
elements.The possible values for this property are instances of
Color
Color
- Parameters:
aValue
- the value to set for theBG_COLOR_PROPERTY
property.
-
getTextColor
Returns the value of the property that maps to thetextColor
element.- Returns:
- the value of the
TEXT_COLOR_PROPERTY
property.
-
setTextColor
Sets the value of the property that maps to thetextColor
element.- Parameters:
aValue
- the value to set for theTEXT_COLOR_PROPERTY
property.
-
getText
Returns the value of the property that maps to thetext
element.- Returns:
- the value of the
TEXT_PROPERTY
property.
-
setText
Sets the value of the property that maps to thetext
element.- Parameters:
aValue
- the value to set for theTEXT_PROPERTY
property.
-
setDisplayMode
Sets the value of the property that maps to thedisplayMode
element.- Parameters:
aValue
- the value to set for theDISPLAY_MODE_PROPERTY
property.
-