CollectionEventType
public class
feathers.events.CollectionEventType
Description
Event type constants for collections. This class is
not a subclass of loom2d.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 loom2d.events.Event.
API overview
Constructor
Constants
Constants
| ADD_ITEM: String |
static
Dispatched when an item is added to the collection |
| REMOVE_ITEM: String |
static
Dispatched when an item is removed from the collection |
| REPLACE_ITEM: String |
static
Dispatched when an item is replaced in the collection with a different item |
| RESET: String |
static
Dispatched when the data provider's source is completely replaced |
| UPDATE_ITEM: String |
static
Dispatched when an item in the collection has changed |
Constructor
CollectionEventType ()
Constants
REPLACE_ITEM: String
static
Dispatched when an item is replaced in the collection with a different item.
Functions
getFullTypeName
(): String
Inherited from Object
native
Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.
Returns
| String | fully qualified type name of the Object. |
getType
(): Type
Inherited from Object
native
Gets the Type that describes the Object.
Returns
| Type | The Type that describes the object. |