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

CollectionEventType ()

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

Functions

Public functions

Constructor

CollectionEventType ()

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.

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.

getTypeName (): String
Inherited from Object

native

Gets the type name of the Object.


Returns

String type name of the Object.

toString (): String
Inherited from Object

native

Returns a String that describes the Object. This can be overriden to provide extra details when printing objects using trace().


Returns

String String that described the Object.

: