| Package | com.esri.ags.events |
| Class | public class FeatureLayerEvent |
| Inheritance | FeatureLayerEvent flash.events.Event |
| Since : | ArcGIS API for Flex 2.0 |
See also
| Property | Defined By | ||
|---|---|---|---|
| adds : Array
Array of features passed to applyEdits. | FeatureLayerEvent | ||
| count : Number
The count returned by queryCount() in FeatureLayer. | FeatureLayerEvent | ||
| deletes : Array
Array of features passed to applyEdits. | FeatureLayerEvent | ||
| featureEditResults : FeatureEditResults
The results returned by applyEdits() in FeatureLayer and FeatureLayerTask. | FeatureLayerEvent | ||
| featureLayer : FeatureLayer
Reference to the associated FeatureLayer. | FeatureLayerEvent | ||
| features : Array
The features selected or unselected by selectFeatures() and clearSelection() in FeatureLayer. | FeatureLayerEvent | ||
| featureSet : FeatureSet
The feature set returned by queryFeatures() in FeatureLayer. | FeatureLayerEvent | ||
| objectIds : Array
The object ids returned by queryIds() in FeatureLayer. | FeatureLayerEvent | ||
| relatedRecords : Object
The object returned by queryRelatedFeatures() in FeatureLayer. | FeatureLayerEvent | ||
| selectionMethod : String
The selection method used when calling selectFeatures() in FeatureLayer. | FeatureLayerEvent | ||
| updates : Array
Array of features passed to applyEdits. | FeatureLayerEvent | ||
| Method | Defined By | ||
|---|---|---|---|
FeatureLayerEvent(type:String, featureLayer:FeatureLayer = null, cancelable:Boolean = false)
Creates a new FeatureLayerEvent. | FeatureLayerEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| EDITS_COMPLETE : String = editsComplete [static]
Defines the value of the type property of the event object for a editsComplete event. | FeatureLayerEvent | ||
| EDITS_STARTING : String = editsStarting [static]
Defines the value of the type property of the event object for a editsStarting event. | FeatureLayerEvent | ||
| QUERY_COUNT_COMPLETE : String = queryCountComplete [static]
Defines the value of the type property of the event object for a queryCountComplete event. | FeatureLayerEvent | ||
| QUERY_FEATURES_COMPLETE : String = queryFeaturesComplete [static]
Defines the value of the type property of the event object for a queryFeaturesComplete event. | FeatureLayerEvent | ||
| QUERY_IDS_COMPLETE : String = queryIdsComplete [static]
Defines the value of the type property of the event object for a queryIdsComplete event. | FeatureLayerEvent | ||
| QUERY_RELATED_FEATURES_COMPLETE : String = queryRelatedFeaturesComplete [static]
Defines the value of the type property of the event object for a queryRelatedFeaturesComplete event. | FeatureLayerEvent | ||
| SELECTION_CLEAR : String = selectionClear [static]
Defines the value of the type property of the event object for a selectionClear event. | FeatureLayerEvent | ||
| SELECTION_COMPLETE : String = selectionComplete [static]
Defines the value of the type property of the event object for a selectionComplete event. | FeatureLayerEvent | ||
| adds | property |
public var adds:ArrayArray of features passed to applyEdits. Valid for editsStarting events.
| count | property |
public var count:Number| Since : | ArcGIS API for Flex 2.2 |
The count returned by queryCount() in FeatureLayer. Only works if the service is running on ArcGIS Server 10.0 Service Pack 1 or higher. Returns NaN for earlier versions.
| deletes | property |
public var deletes:ArrayArray of features passed to applyEdits. Valid for editsStarting events.
| featureEditResults | property |
public var featureEditResults:FeatureEditResultsThe results returned by applyEdits() in FeatureLayer and FeatureLayerTask.
| featureLayer | property |
public var featureLayer:FeatureLayerReference to the associated FeatureLayer. Null when event is dispatched from FeatureLayerTask.
| features | property |
public var features:ArrayThe features selected or unselected by selectFeatures() and clearSelection() in FeatureLayer.
See also
| featureSet | property |
public var featureSet:FeatureSetThe feature set returned by queryFeatures() in FeatureLayer.
| objectIds | property |
public var objectIds:ArrayThe object ids returned by queryIds() in FeatureLayer.
| relatedRecords | property |
public var relatedRecords:ObjectThe object returned by queryRelatedFeatures() in FeatureLayer.
See also
| selectionMethod | property |
public var selectionMethod:StringThe selection method used when calling selectFeatures() in FeatureLayer.
| updates | property |
public var updates:ArrayArray of features passed to applyEdits. Valid for editsStarting events.
| FeatureLayerEvent | () | Constructor |
public function FeatureLayerEvent(type:String, featureLayer:FeatureLayer = null, cancelable:Boolean = false)Creates a new FeatureLayerEvent.
Parameterstype:String — The event type; indicates the action that triggered the event.
| |
featureLayer:FeatureLayer (default = null) — Reference to the associated layer.
| |
cancelable:Boolean (default = false) — Specifies whether the behavior associated with the event can be prevented.
|
| EDITS_COMPLETE | Constant |
public static const EDITS_COMPLETE:String = editsComplete
Defines the value of the type property of the event object for a editsComplete event.
| EDITS_STARTING | Constant |
public static const EDITS_STARTING:String = editsStarting
Defines the value of the type property of the event object for a editsStarting event.
| QUERY_COUNT_COMPLETE | Constant |
public static const QUERY_COUNT_COMPLETE:String = queryCountComplete
Defines the value of the type property of the event object for a queryCountComplete event.
| QUERY_FEATURES_COMPLETE | Constant |
public static const QUERY_FEATURES_COMPLETE:String = queryFeaturesComplete
Defines the value of the type property of the event object for a queryFeaturesComplete event.
| QUERY_IDS_COMPLETE | Constant |
public static const QUERY_IDS_COMPLETE:String = queryIdsComplete
Defines the value of the type property of the event object for a queryIdsComplete event.
| QUERY_RELATED_FEATURES_COMPLETE | Constant |
public static const QUERY_RELATED_FEATURES_COMPLETE:String = queryRelatedFeaturesComplete
Defines the value of the type property of the event object for a queryRelatedFeaturesComplete event.
| SELECTION_CLEAR | Constant |
public static const SELECTION_CLEAR:String = selectionClear
Defines the value of the type property of the event object for a selectionClear event.
| SELECTION_COMPLETE | Constant |
public static const SELECTION_COMPLETE:String = selectionComplete
Defines the value of the type property of the event object for a selectionComplete event.