| Function |
Defined By |
|
CollectionChangedEvent(kind, index)
|
[Constructor] CollectionChangedEvent
|
Creates new CollectionChangedEvent instance.
| |
kind : String
String representing type of change that occurred to the collection. Allowable values are "add", "remove", "update", and "reset".
|
| |
index : int
Index position the change occurred (or -1 if kind is "reset").
|
|
|
|
getIndex()
|
CollectionChangedEvent
|
Gets the index of the data collection that the change occurred.
| |
returns : int
The index of the data collection that the change occurred.
|
|
|
|
getKind()
|
CollectionChangedEvent
|
Gets the kind of the collection event. Possible types are "add", "remove", "update", and "reset".
| |
returns : String
The kind of the collection event.
|
|
|
| Function |
Defined By |
|
CollectionChangedEvent(kind, index)
|
[Constructor] CollectionChangedEvent
|
Creates new CollectionChangedEvent instance.
| |
kind : String
String representing type of change that occurred to the collection. Allowable values are "add", "remove", "update", and "reset".
|
| |
index : int
Index position the change occurred (or -1 if kind is "reset").
|
|
|
|
cancelEvent()
|
DispatcherEvent
|
Prevents processing of any subsequent event handlers
|
|
|
clone()
|
DispatcherEvent
|
Duplicates an instance of an Event or Event subclass.
The event dispatcher calls this when dispatching or re-dispatching events to multiple targets.
When creating a custom event class, you should override this and call the base class's clone()
then copy the new event properties to the cloned instance.
| |
returns : DispatcherEvent
A new event object instance identical to the cloned instance.
|
|
|
|
getIndex()
|
CollectionChangedEvent
|
Gets the index of the data collection that the change occurred.
| |
returns : int
The index of the data collection that the change occurred.
|
|
|
|
getIsCanceled()
|
DispatcherEvent
|
Checks if the event has been canceled
| |
returns : boolean
Returns true if the event has been canceled, otherwise false
|
|
|
|
getKind()
|
CollectionChangedEvent
|
Gets the kind of the collection event. Possible types are "add", "remove", "update", and "reset".
| |
returns : String
The kind of the collection event.
|
|
|
|
getTarget()
|
DispatcherEvent
|
Gets event target
| |
returns : Object
Object that originally dispatched the event
|
|
|
|
getType()
|
DispatcherEvent
|
Gets the event type
| |
returns : String
String representing the event type
|
|
|