This page describes an older version, please see latest API at http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/webmap/supportClasses/PopUpInfo.html.
Packagecom.esri.ags.webmap.supportClasses
Classpublic class PopUpInfo
InheritancePopUpInfo Inheritance flash.events.EventDispatcher

Since : ArcGIS API for Flex 2.3

Used to configure PopUpRenderer.



Public Properties
 PropertyDefined By
  description : String
The main content of the pop-up unless no description is set, in which case the pop-up will instead show the visible fields in a key-value styled table.
PopUpInfo
  popUpFieldInfos : Array
Array of PopUpFieldInfo for configuring fields to show inside a pop-up window.
PopUpInfo
  popUpMediaInfos : Array
Array of PopUpMediaInfo for configuring media (images and/or charts) to show inside a pop-up window.
PopUpInfo
  showAttachments : Boolean
If true, and layer supports attachments, displays attachments using the AttachmentInspector.
PopUpInfo
  title : String
The title to use by the PopUpRenderer.
PopUpInfo
Property Detail
descriptionproperty
description:String

The main content of the pop-up unless no description is set, in which case the pop-up will instead show the visible fields in a key-value styled table. The description supports using field substitution using a {FIELD} style syntax. Basic Flash Player HTML is also supported. Using the default PopUpRendererSkin, the description will show below the title and above any media and/or attachments.

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


Implementation
    public function get description():String
    public function set description(value:String):void

See also


Example
Just show the content of a field:
     description = "{SUMMARY}"
Show a text string followed by the content of a field:
     description = "ZIP Code {ZIPCODE}"
Show a full sentence with content from multiple fields:
     description = "The population of {NAME} is {POP}."
Show multiple paragraphs and content from multiple fields:
     description = "<p>The population of <b>{NAME}</b> is {POP}.</p><p>The annual income is {INCOME}.</p>"
popUpFieldInfosproperty 
public var popUpFieldInfos:Array

Array of PopUpFieldInfo for configuring fields to show inside a pop-up window.

See also

popUpMediaInfosproperty 
public var popUpMediaInfos:Array

Array of PopUpMediaInfo for configuring media (images and/or charts) to show inside a pop-up window.

See also

showAttachmentsproperty 
showAttachments:Boolean

If true, and layer supports attachments, displays attachments using the AttachmentInspector. Using the default PopUpRendererSkin, the attachments will show below main content and any media.

The default value is false.

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


Implementation
    public function get showAttachments():Boolean
    public function set showAttachments(value:Boolean):void

See also

titleproperty 
title:String

The title to use by the PopUpRenderer. Using the default PopUpRendererSkin, the title will show in bold above horizontal line and the main content.

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


Implementation
    public function get title():String
    public function set title(value:String):void

Example
Just show the content of a field:
     title = "{ZIPCODE}"
Show a text string followed by the content of a field:
     title = "ZIP Code {ZIPCODE}"