Pacchetto | mx.events |
Classe | public final class CollectionEventKind |
Ereditarietà | CollectionEventKind Object |
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
kind
property.
These constants indicate the kind of change that was made to the collection.
Elementi API correlati
Costante | Definito da | ||
---|---|---|---|
ADD : String = "add" [statico]
Indicates that the collection added an item or items. | CollectionEventKind | ||
MOVE : String = "move" [statico]
Indicates that the item has moved from the position identified
by the CollectionEvent oldLocation property to the
position identified by the location property. | CollectionEventKind | ||
REFRESH : String = "refresh" [statico]
Indicates that the collection applied a sort, a filter, or both. | CollectionEventKind | ||
REMOVE : String = "remove" [statico]
Indicates that the collection removed an item or items. | CollectionEventKind | ||
REPLACE : String = "replace" [statico]
Indicates that the item at the position identified by the
CollectionEvent location property has been replaced. | CollectionEventKind | ||
RESET : String = "reset" [statico]
Indicates that the collection has changed so drastically that
a reset is required. | CollectionEventKind | ||
UPDATE : String = "update" [statico]
Indicates that one or more items were updated within the collection. | CollectionEventKind |
ADD | Costante |
public static const ADD:String = "add"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Indicates that the collection added an item or items.
MOVE | Costante |
public static const MOVE:String = "move"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Indicates that the item has moved from the position identified
by the CollectionEvent oldLocation
property to the
position identified by the location
property.
REFRESH | Costante |
public static const REFRESH:String = "refresh"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Indicates that the collection applied a sort, a filter, or both. This change can potentially be easier to handle than a RESET.
REMOVE | Costante |
public static const REMOVE:String = "remove"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Indicates that the collection removed an item or items.
REPLACE | Costante |
public static const REPLACE:String = "replace"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Indicates that the item at the position identified by the
CollectionEvent location
property has been replaced.
RESET | Costante |
public static const RESET:String = "reset"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Indicates that the collection has changed so drastically that a reset is required.
UPDATE | Costante |
public static const UPDATE:String = "update"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Indicates that one or more items were updated within the collection.
The affected item(s)
are stored in the items
property.
Tue Jun 12 2018, 02:44 PM Z