Pakket | mx.data |
Klasse | public class UpdateCollectionRange |
Overerving | UpdateCollectionRange Object |
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
body
property.
Verwante API-elementen
Eigenschap | Gedefinieerd door | ||
---|---|---|---|
constructor : Object
Verwijzing naar het klasseobject of de constructorfunctie van een bepaalde objectinstantie. | 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 beginning index for the range of updates made to the
associated collection. | UpdateCollectionRange | ||
size : int
Indicates the increase in collection size. | UpdateCollectionRange | ||
updateType : int
Indicates what operation this range represents. | UpdateCollectionRange |
Methode | Gedefinieerd door | ||
---|---|---|---|
Constructs an empty UpdateCollectionRange. | UpdateCollectionRange | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | ||
Retourneert de primitieve waarde van het opgegeven object. | Object |
Constante | Gedefinieerd door | ||
---|---|---|---|
DECREMENT_COLLECTION_SIZE : int = 3 [statisch]
Indicates a derease in the collection size. | UpdateCollectionRange | ||
DELETE_FROM_COLLECTION : int = 1 [statisch]
Indicates a range of items that have been deleted from the collection. | UpdateCollectionRange | ||
INCREMENT_COLLECTION_SIZE : int = 2 [statisch]
Indicates an increase in the collection size. | UpdateCollectionRange | ||
INSERT_INTO_COLLECTION : int = 0 [statisch]
Indicates a range of items have been inserted into the collection. | UpdateCollectionRange | ||
UPDATE_COLLECTION_SIZE : int = 4 [statisch]
Indicates an update to the collection size sent by the server. | UpdateCollectionRange |
identities | eigenschap |
public var identities:Array
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
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 | eigenschap |
public var position:int
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Indicates the beginning index for the range of updates made to the
associated collection.
The updateType
indicates if the range was an insert or a
remove operation.
size | eigenschap |
public var size:int
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Indicates the increase in collection size. Only applicatble when update type is INCREMENT_COLLECTION_SIZE or DECREMENT_COLLECTION_SIZE
updateType | eigenschap |
public var updateType:int
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Indicates what operation this range represents. Valid values are:
UpdateCollectionRange.INSERT_INTO_COLLECTION
UpdateCollectionRange.DELETE_FROM_COLLECTION
UpdateCollectionRange.INCREMENT_COLLECTION_SIZE
UpdateCollectionRange.DECREMENT_COLLECTION_SIZE
UpdateCollectionRange.UPDATE_COLLECTION_SIZE
UpdateCollectionRange | () | Constructor |
public function UpdateCollectionRange()
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Constructs an empty UpdateCollectionRange.
DECREMENT_COLLECTION_SIZE | Constante |
public static const DECREMENT_COLLECTION_SIZE:int = 3
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Indicates a derease in the collection size.
The size
property will contain an increase amount
DELETE_FROM_COLLECTION | Constante |
public static const DELETE_FROM_COLLECTION:int = 1
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.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.
INCREMENT_COLLECTION_SIZE | Constante |
public static const INCREMENT_COLLECTION_SIZE:int = 2
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Indicates an increase in the collection size.
The size
property will contain an increase amount
INSERT_INTO_COLLECTION | Constante |
public static const INSERT_INTO_COLLECTION:int = 0
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
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.
UPDATE_COLLECTION_SIZE | Constante |
public static const UPDATE_COLLECTION_SIZE:int = 4
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Indicates an update to the collection size sent by the server.
This will occur when a paged-fill is refreshed on the server.
The size
property will contain an increase amount
var ucm:UpdateCollectionMessage = UpdateCollectionMessage(msg); var ucr:UpdateCollectionRange = UpdateCollectionRange(ucm.body[0]); trace("First change to the collection was "+ ucr.updateType +" at "+ ucr.position);
Wed Jun 13 2018, 11:42 AM Z