Packagecom.esri.ags.events
Classpublic class AttachmentEvent
InheritanceAttachmentEvent Inheritance flash.events.Event

Since : ArcGIS API for Flex 2.0

Represents event objects that are specific to FeatureLayer and FeatureLayerTask attachment operations.

See also

com.esri.ags.layers.FeatureLayer
com.esri.ags.tasks.FeatureLayerTask


Public Properties
 PropertyDefined By
  attachmentInfos : Array
The results returned by queryAttachmentInfos() in FeatureLayer and FeatureLayerTask.
AttachmentEvent
  featureEditResult : FeatureEditResult
The result returned by addAttachment() in FeatureLayer and FeatureLayerTask.
AttachmentEvent
  featureEditResults : Array
The results returned by deleteAttachments() in FeatureLayer and FeatureLayerTask.
AttachmentEvent
  featureLayer : FeatureLayer
Reference to the associated FeatureLayer.
AttachmentEvent
Public Methods
 MethodDefined By
  
AttachmentEvent(type:String, featureLayer:FeatureLayer = null)
Creates a new AttachmentEvent.
AttachmentEvent
Public Constants
 ConstantDefined By
  ADD_ATTACHMENT_COMPLETE : String = addAttachmentComplete
[static] Defines the value of the type property of the event object for a addAttachmentComplete event.
AttachmentEvent
  DELETE_ATTACHMENTS_COMPLETE : String = deleteAttachmentsComplete
[static] Defines the value of the type property of the event object for a deleteAttachmentsComplete event.
AttachmentEvent
  QUERY_ATTACHMENT_INFOS_COMPLETE : String = queryAttachmentInfosComplete
[static] Defines the value of the type property of the event object for a queryAttachmentInfosComplete event.
AttachmentEvent
Property Detail
attachmentInfosproperty
public var attachmentInfos:Array

The results returned by queryAttachmentInfos() in FeatureLayer and FeatureLayerTask.

See also

featureEditResultproperty 
public var featureEditResult:FeatureEditResult

The result returned by addAttachment() in FeatureLayer and FeatureLayerTask.

featureEditResultsproperty 
public var featureEditResults:Array

The results returned by deleteAttachments() in FeatureLayer and FeatureLayerTask.

See also

featureLayerproperty 
public var featureLayer:FeatureLayer

Reference to the associated FeatureLayer. Null when event is dispatched from FeatureLayerTask.

Constructor Detail
AttachmentEvent()Constructor
public function AttachmentEvent(type:String, featureLayer:FeatureLayer = null)

Creates a new AttachmentEvent.

Parameters
type:String — The event type; indicates the action that triggered the event.
 
featureLayer:FeatureLayer (default = null) — Reference to the associated layer.
Constant Detail
ADD_ATTACHMENT_COMPLETEConstant
public static const ADD_ATTACHMENT_COMPLETE:String = addAttachmentComplete

Defines the value of the type property of the event object for a addAttachmentComplete event.

DELETE_ATTACHMENTS_COMPLETEConstant 
public static const DELETE_ATTACHMENTS_COMPLETE:String = deleteAttachmentsComplete

Defines the value of the type property of the event object for a deleteAttachmentsComplete event.

QUERY_ATTACHMENT_INFOS_COMPLETEConstant 
public static const QUERY_ATTACHMENT_INFOS_COMPLETE:String = queryAttachmentInfosComplete

Defines the value of the type property of the event object for a queryAttachmentInfosComplete event.