| 套件 | mx.events |
| 類別 | public final class CollectionEventKind |
| 繼承 | CollectionEventKind Object |
| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 3 |
| 執行階段版本: | Flash Player 9, AIR 1.1 |
kind property.
These constants indicate the kind of change that was made to the collection.
相關 API 元素
| 常數 | 定義自 | ||
|---|---|---|---|
| ADD : String = "add" [靜態]
Indicates that the collection added an item or items. | CollectionEventKind | ||
| MOVE : String = "move" [靜態]
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" [靜態]
Indicates that the collection applied a sort, a filter, or both. | CollectionEventKind | ||
| REMOVE : String = "remove" [靜態]
Indicates that the collection removed an item or items. | CollectionEventKind | ||
| REPLACE : String = "replace" [靜態]
Indicates that the item at the position identified by the
CollectionEvent location property has been replaced. | CollectionEventKind | ||
| RESET : String = "reset" [靜態]
Indicates that the collection has changed so drastically that
a reset is required. | CollectionEventKind | ||
| UPDATE : String = "update" [靜態]
Indicates that one or more items were updated within the collection. | CollectionEventKind | ||
ADD | 常數 |
public static const ADD:String = "add"| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 3 |
| 執行階段版本: | Flash Player 9, AIR 1.1 |
Indicates that the collection added an item or items.
MOVE | 常數 |
public static const MOVE:String = "move"| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 3 |
| 執行階段版本: | 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 | 常數 |
public static const REFRESH:String = "refresh"| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 3 |
| 執行階段版本: | 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 | 常數 |
public static const REMOVE:String = "remove"| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 3 |
| 執行階段版本: | Flash Player 9, AIR 1.1 |
Indicates that the collection removed an item or items.
REPLACE | 常數 |
public static const REPLACE:String = "replace"| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 3 |
| 執行階段版本: | Flash Player 9, AIR 1.1 |
Indicates that the item at the position identified by the
CollectionEvent location property has been replaced.
RESET | 常數 |
public static const RESET:String = "reset"| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 3 |
| 執行階段版本: | Flash Player 9, AIR 1.1 |
Indicates that the collection has changed so drastically that a reset is required.
UPDATE | 常數 |
public static const UPDATE:String = "update"| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flex 3 |
| 執行階段版本: | 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, 03:47 PM Z
隱藏繼承公用屬性
顯示繼承公用屬性