Paket | mx.data |
Klass | public class UpdateCollectionRange |
Arv | UpdateCollectionRange Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
body
property.
Relaterade API-element
Egenskap | Definieras med | ||
---|---|---|---|
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | 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 |
Metod | Definieras med | ||
---|---|---|---|
Constructs an empty UpdateCollectionRange. | UpdateCollectionRange | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Returnerar det angivna objektets primitiva värde. | Object |
Konstant | Definieras med | ||
---|---|---|---|
DECREMENT_COLLECTION_SIZE : int = 3 [statisk]
Indicates a derease in the collection size. | UpdateCollectionRange | ||
DELETE_FROM_COLLECTION : int = 1 [statisk]
Indicates a range of items that have been deleted from the collection. | UpdateCollectionRange | ||
INCREMENT_COLLECTION_SIZE : int = 2 [statisk]
Indicates an increase in the collection size. | UpdateCollectionRange | ||
INSERT_INTO_COLLECTION : int = 0 [statisk]
Indicates a range of items have been inserted into the collection. | UpdateCollectionRange | ||
UPDATE_COLLECTION_SIZE : int = 4 [statisk]
Indicates an update to the collection size sent by the server. | UpdateCollectionRange |
identities | egenskap |
public var identities:Array
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | 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 | egenskap |
public var position:int
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | 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 | egenskap |
public var size:int
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | 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 | egenskap |
public var updateType:int
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | 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 | () | Konstruktor |
public function UpdateCollectionRange()
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Constructs an empty UpdateCollectionRange.
DECREMENT_COLLECTION_SIZE | Konstant |
public static const DECREMENT_COLLECTION_SIZE:int = 3
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Indicates a derease in the collection size.
The size
property will contain an increase amount
DELETE_FROM_COLLECTION | Konstant |
public static const DELETE_FROM_COLLECTION:int = 1
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | 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 | Konstant |
public static const INCREMENT_COLLECTION_SIZE:int = 2
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Indicates an increase in the collection size.
The size
property will contain an increase amount
INSERT_INTO_COLLECTION | Konstant |
public static const INSERT_INTO_COLLECTION:int = 0
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | 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 | Konstant |
public static const UPDATE_COLLECTION_SIZE:int = 4
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | 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);
Tue Jun 12 2018, 01:40 PM Z