Packagecom.esri.ags.components.supportClasses
Classpublic class InfoComponent
InheritanceInfoComponent Inheritance spark.components.supportClasses.SkinnableComponent
Implements mx.core.IDataRenderer
Subclasses InfoSymbolWindow, InfoWindow

Base class to display "Info" in the form of a callout. A callout is a rounded rectangle where one of the corners is extruded as a tip point.

See also

InfoPlacement


Public Properties
 PropertyDefined By
  anchorX : Number
The anchor X location in pixels.
InfoComponent
  anchorY : Number
The anchor Y location in pixels.
InfoComponent
  data : Object
The associated data.
InfoComponent
  map : Map
[read-only] Gets a reference to the Map instance.
InfoComponent
Public Methods
 MethodDefined By
  
Create a new InfoComponent instance.
InfoComponent
Skin Parts

This component uses skins made up of skin parts. Do not set the skin parts directly. The component's skin sets the skin parts.


 Skin Part Description Defined By
  
contentGroup:spark.components.Group
Required: false Part Type: Static
Optional skin part to hold the info window content.
InfoComponent
Property Detail
anchorXproperty
anchorX:Number

The anchor X location in pixels.

This property can be used as the source for data binding.


Implementation
    public function get anchorX():Number
    public function set anchorX(value:Number):void
anchorYproperty 
anchorY:Number

The anchor Y location in pixels.

This property can be used as the source for data binding.


Implementation
    public function get anchorY():Number
    public function set anchorY(value:Number):void
dataproperty 
data:Object

The associated data. If the content is an instance of IDataRenderer, then the data setter will be invoked with the data value.

This property can be used as the source for data binding.


Implementation
    public function get data():Object
    public function set data(value:Object):void
mapproperty 
map:Map  [read-only]

Gets a reference to the Map instance.


Implementation
    public function get map():Map
Constructor Detail
InfoComponent()Constructor
public function InfoComponent(map:Map)

Create a new InfoComponent instance.

Parameters
map:Map — Reference to a Map instance.