| Package | feathers.events |
| Class | public class CollectionEventType |
| Inheritance | CollectionEventType Object |
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.
| Constant | Defined 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 | ||
| ADD_ITEM | Constant |
public static const ADD_ITEM:String = addItemDispatched when an item is added to the collection.
| REMOVE_ITEM | Constant |
public static const REMOVE_ITEM:String = removeItemDispatched when an item is removed from the collection.
| REPLACE_ITEM | Constant |
public static const REPLACE_ITEM:String = replaceItemDispatched when an item is replaced in the collection with a different item.
| RESET | Constant |
public static const RESET:String = resetDispatched when the data provider's source is completely replaced.
| UPDATE_ITEM | Constant |
public static const UPDATE_ITEM:String = updateItemDispatched when an item in the collection has changed.