Package | com.esri.bacore.thematicmapping.extensionClasses |
Class | public class TMTooltipProvider |
Inheritance | TMTooltipProvider TMLayerComponent flash.events.EventDispatcher |
Property | Defined By | ||
---|---|---|---|
layer : TMLayer
Thematic layer associated with this extension object. | TMLayerComponent | ||
tooltipStyle : ValueDescriptionStyle
Tooltip visualization style. | TMTooltipProvider |
Method | Defined By | ||
---|---|---|---|
Creates a new instance of the TMTooltipProvider class. | TMTooltipProvider |
Method | Defined By | ||
---|---|---|---|
composeTooltip(descriptionFields:Array):String
Composes a tooltip by values of feature description fields. | TMTooltipProvider | ||
updateTooltip(e:TMValueEvent):void
Updates the tooltip for the given graphic. | TMTooltipProvider |
tooltipStyle | property |
tooltipStyle:ValueDescriptionStyle
Tooltip visualization style.
The default value is ValueDescriptionStyle.SIMPLE
.
This property can be used as the source for data binding.
public function get tooltipStyle():ValueDescriptionStyle
public function set tooltipStyle(value:ValueDescriptionStyle):void
TMTooltipProvider | () | Constructor |
public function TMTooltipProvider()
Creates a new instance of the TMTooltipProvider class.
composeTooltip | () | method |
protected function composeTooltip(descriptionFields:Array):String
Composes a tooltip by values of feature description fields.
The default implementation composes a simple multiline tooltip with keys delimitted from values with semicolon (:) symbol. In the case of a single description field, the field key is ignored.
Parameters
descriptionFields:Array — Feature description fields.
|
String — A new tooltip string (null value means no tooltip)
|
updateTooltip | () | method |
protected function updateTooltip(e:TMValueEvent):void
Updates the tooltip for the given graphic.
Parameters
e:TMValueEvent — Thematic value updating event.
|