Packagefeathers.events
Classpublic class CollectionEventType
InheritanceCollectionEventType Inheritance Object

Event type constants for collections. This class is not a subclass of starling.events.Event because these constants are meant to be used with dispatchEventWith() and take advantage of the Starling's event object pooling. The object passed to an event listener will be of type starling.events.Event.
     function listener( event:Event ):void
     {
         trace( "add item" );
     }
     collection.addEventListener( CollectionEventType.ADD_ITEM, listener );



Public Constants
 ConstantDefined By
  ADD_ITEM : String = addItem
[static] Dispatched when an item is added to the collection.
CollectionEventType
  REMOVE_ITEM : String = removeItem
[static] Dispatched when an item is removed from the collection.
CollectionEventType
  REPLACE_ITEM : String = replaceItem
[static] Dispatched when an item is replaced in the collection with a different item.
CollectionEventType
  RESET : String = reset
[static] Dispatched when the data provider's source is completely replaced.
CollectionEventType
  UPDATE_ITEM : String = updateItem
[static] Dispatched when an item in the collection has changed.
CollectionEventType
Constant Detail
ADD_ITEMConstant
public static const ADD_ITEM:String = addItem

Dispatched when an item is added to the collection.

REMOVE_ITEMConstant 
public static const REMOVE_ITEM:String = removeItem

Dispatched when an item is removed from the collection.

REPLACE_ITEMConstant 
public static const REPLACE_ITEM:String = replaceItem

Dispatched when an item is replaced in the collection with a different item.

RESETConstant 
public static const RESET:String = reset

Dispatched when the data provider's source is completely replaced.

UPDATE_ITEMConstant 
public static const UPDATE_ITEM:String = updateItem

Dispatched when an item in the collection has changed.