Packagemx.events
Classpublic final class CollectionEventKind

The CollectionEventKind class contains constants for the valid values of the mx.events.CollectionEvent class kind property. These constants indicate the kind of change that was made to the collection.

See also

mx.events.CollectionEvent


Public Constants
 ConstantDefined 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
Constant detail
ADDconstant
public static const ADD:String = "add"

Indicates that the collection added an item or items.

MOVEconstant 
public static const MOVE:String = "move"

Indicates that the item has moved from the position identified by the CollectionEvent oldLocation property to the position identified by the location property.

REFRESHconstant 
public static const REFRESH:String = "refresh"

Indicates that the collection applied a sort, a filter, or both. This change can potentially be easier to handle than a RESET.

REMOVEconstant 
public static const REMOVE:String = "remove"

Indicates that the collection removed an item or items.

REPLACEconstant 
public static const REPLACE:String = "replace"

Indicates that the item at the position identified by the CollectionEvent location property has been replaced.

RESETconstant 
public static const RESET:String = "reset"

Indicates that the collection has changed so drastically that a reset is required.

UPDATEconstant 
public static const UPDATE:String = "update"

Indicates that one or more items were updated within the collection. The affected item(s) or their associated ObjectChangeEvent objects are stored in the items property.