| Package | mx.events | 
| Class | public final class CollectionEventKind | 
| Inheritance | CollectionEventKind  Object | 
| Language Version: | ActionScript 3.0 | 
| Product Version: | Flex 3 | 
| Runtime Versions: | Flash Player 9, AIR 1.1 | 
kind property.
  These constants indicate the kind of change that was made to the collection.
 
  More examples
Learn more
Related API Elements
| Property | Defined By | ||
|---|---|---|---|
|  | constructor : Object 
	 A reference to the class object or constructor function for a given object instance. | Object | |
| Method | Defined By | ||
|---|---|---|---|
|  | 
	 Indicates whether an object has a specified property defined. | Object | |
|  | 
	 Indicates whether an instance of the Object class is in the prototype chain of the object specified 
	 as the parameter. | Object | |
|  | 
	 Indicates whether the specified property exists and is enumerable. | Object | |
|  | 
     Sets the availability of a dynamic property for loop operations. | Object | |
|  | 
	 Returns the string representation of this object, formatted according to locale-specific conventions. | Object | |
|  | 
	 Returns the string representation of the specified object. | Object | |
|  | 
	 Returns the primitive value of the specified object. | Object | |
| Constant | Defined By | ||
|---|---|---|---|
| ADD : String = "add" [static] 
      Indicates that the collection added an item or items. | CollectionEventKind | ||
| MOVE : String = "move" [static] 
      Indicates that the item has moved from the position identified
      by the CollectionEvent oldLocation property to the 
	  position identified by the location property. | CollectionEventKind | ||
| REFRESH : String = "refresh" [static] 
      Indicates that the collection applied a sort, a filter, or both. | CollectionEventKind | ||
| REMOVE : String = "remove" [static] 
      Indicates that the collection removed an item or items. | CollectionEventKind | ||
| REPLACE : String = "replace" [static] 
      Indicates that the item at the position identified by the 
      CollectionEvent location property has been replaced. | CollectionEventKind | ||
| RESET : String = "reset" [static] 
      Indicates that the collection has changed so drastically that
      a reset is required. | CollectionEventKind | ||
| UPDATE : String = "update" [static] 
      Indicates that one or more items were updated within the collection. | CollectionEventKind | ||
| ADD | Constant | 
public static const ADD:String = "add"| Language Version: | ActionScript 3.0 | 
| Product Version: | Flex 3 | 
| Runtime Versions: | Flash Player 9, AIR 1.1 | 
Indicates that the collection added an item or items.
| MOVE | Constant | 
public static const MOVE:String = "move"| Language Version: | ActionScript 3.0 | 
| Product Version: | Flex 3 | 
| Runtime Versions: | Flash Player 9, AIR 1.1 | 
      Indicates that the item has moved from the position identified
      by the CollectionEvent oldLocation property to the 
	  position identified by the location property.
      
      
| REFRESH | Constant | 
public static const REFRESH:String = "refresh"| Language Version: | ActionScript 3.0 | 
| Product Version: | Flex 3 | 
| Runtime Versions: | Flash Player 9, AIR 1.1 | 
Indicates that the collection applied a sort, a filter, or both. This change can potentially be easier to handle than a RESET.
| REMOVE | Constant | 
public static const REMOVE:String = "remove"| Language Version: | ActionScript 3.0 | 
| Product Version: | Flex 3 | 
| Runtime Versions: | Flash Player 9, AIR 1.1 | 
Indicates that the collection removed an item or items.
| REPLACE | Constant | 
public static const REPLACE:String = "replace"| Language Version: | ActionScript 3.0 | 
| Product Version: | Flex 3 | 
| Runtime Versions: | Flash Player 9, AIR 1.1 | 
      Indicates that the item at the position identified by the 
      CollectionEvent location property has been replaced.
      
      
| RESET | Constant | 
public static const RESET:String = "reset"| Language Version: | ActionScript 3.0 | 
| Product Version: | Flex 3 | 
| Runtime Versions: | Flash Player 9, AIR 1.1 | 
Indicates that the collection has changed so drastically that a reset is required.
| UPDATE | Constant | 
public static const UPDATE:String = "update"| Language Version: | ActionScript 3.0 | 
| Product Version: | Flex 3 | 
| Runtime Versions: | Flash Player 9, AIR 1.1 | 
      Indicates that one or more items were updated within the collection.
      The affected item(s) 
      are stored in the items property.
      
      
Thu Dec 4 2014, 05:50 PM -08:00