| Package | mx.data |
| Class | public class UpdateCollectionRange |
| Inheritance | UpdateCollectionRange Object |
body property.
var ucm:UpdateCollectionMessage = UpdateCollectionMessage(msg);
var ucr:UpdateCollectionRange = UpdateCollectionRange(ucm.body[0]);
trace("First change to the collection was "+ ucr.updateType +" at "+
ucr.position);
See also
| Property | Defined by | ||
|---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | |
| identities : Array
An Array of identity objects that represent which items
were either deleted or inserted in the associated collection starting
at the position indicated by the
position property. | UpdateCollectionRange | ||
| position : int
Indicates the begining index for the range of updates made to the
associated collection.
| UpdateCollectionRange | ||
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | |
| updateType : int
Indicates what operation this range represents.
| UpdateCollectionRange | ||
| Method | Defined by | ||
|---|---|---|---|
|
Constructs an empty UpdateCollectionRange.
| UpdateCollectionRange | ||
![]() |
Indicates whether an object has a specified property defined.
| Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
![]() |
Returns the string representation of the specified object.
| Object | |
![]() |
Returns the primitive value of the specified object.
| Object | |
| Constant | Defined by | ||
|---|---|---|---|
| DELETE_FROM_COLLECTION : int = 1 [static]
Indicates a range of items that have been deleted from the collection.
| UpdateCollectionRange | ||
| INSERT_INTO_COLLECTION : int = 0 [static]
Indicates a range of items have been inserted into the collection.
| UpdateCollectionRange | ||
| identities | property |
public var identities:Array
An Array of identity objects that represent which items
were either deleted or inserted in the associated collection starting
at the position indicated by the position property.
| position | property |
public var position:int
Indicates the begining index for the range of updates made to the
associated collection.
The updateType indicates if the range was an insert or a
remove operation.
| updateType | property |
public var updateType:intIndicates what operation this range represents. Valid values are:
UpdateCollectionRange.INSERT_INTO_COLLECTIONUpdateCollectionRange.DELETE_FROM_COLLECTION| UpdateCollectionRange | () | constructor |
public function UpdateCollectionRange()Constructs an empty UpdateCollectionRange.
| DELETE_FROM_COLLECTION | constant |
public static const DELETE_FROM_COLLECTION:int = 1
Indicates a range of items that have been deleted from the collection.
The identities property will contain an Array
of item identity objects for each item that was inserted into the
collection.
The position property indicates at what index the insertion
operation began.
Inspect the identityies.length to determine how many items
were inserted.
| INSERT_INTO_COLLECTION | constant |
public static const INSERT_INTO_COLLECTION:int = 0
Indicates a range of items have been inserted into the collection.
The identities property will contain an Array
of item identity objects for each item that was inserted into the
collection.
The position property indicates at what index the insertion
operation began.
Inspect the identityies.length to determine how many items
were inserted.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flex/2/langref/mx/data/UpdateCollectionRange.html