| 包 | mx.events |
| 类 | public final class CollectionEventKind |
| 继承 | CollectionEventKind Object |
| 语言版本: | ActionScript 3.0 |
| 产品版本: | Flex 3 |
| 运行时版本: | Flash Player 9, AIR 1.1 |
kind 属性的有效值的常量。这些常量指示对集合进行的更改类型。
相关 API 元素
公共常量
| 常量 | 由以下参数定义 | ||
|---|---|---|---|
| ADD : String = "add" [静态]
指示集合添加了一个或多个项目。 | CollectionEventKind | ||
| MOVE : String = "move" [静态]
指示项目已从 CollectionEvent oldLocation 属性确定的位置移动到 location 属性确定的位置。 | CollectionEventKind | ||
| REFRESH : String = "refresh" [静态]
指示集合应用了排序或/和筛选。 | CollectionEventKind | ||
| REMOVE : String = "remove" [静态]
指示集合删除了一个或多个项目。 | CollectionEventKind | ||
| REPLACE : String = "replace" [静态]
指示已替换由 CollectionEvent location 属性确定的位置处的项目。 | CollectionEventKind | ||
| RESET : String = "reset" [静态]
指示集合已彻底更改,需要进行重置。 | CollectionEventKind | ||
| UPDATE : String = "update" [静态]
指示集合中一个或多个项目进行了更新。 | CollectionEventKind | ||
常量详细信息
ADD | 常量 |
public static const ADD:String = "add"| 语言版本: | ActionScript 3.0 |
| 产品版本: | Flex 3 |
| 运行时版本: | Flash Player 9, AIR 1.1 |
指示集合添加了一个或多个项目。
MOVE | 常量 |
public static const MOVE:String = "move"| 语言版本: | ActionScript 3.0 |
| 产品版本: | Flex 3 |
| 运行时版本: | Flash Player 9, AIR 1.1 |
指示项目已从 CollectionEvent oldLocation 属性确定的位置移动到 location 属性确定的位置。
REFRESH | 常量 |
public static const REFRESH:String = "refresh"| 语言版本: | ActionScript 3.0 |
| 产品版本: | Flex 3 |
| 运行时版本: | Flash Player 9, AIR 1.1 |
指示集合应用了排序或/和筛选。此更改可能比 RESET 更容易处理。
REMOVE | 常量 |
public static const REMOVE:String = "remove"| 语言版本: | ActionScript 3.0 |
| 产品版本: | Flex 3 |
| 运行时版本: | Flash Player 9, AIR 1.1 |
指示集合删除了一个或多个项目。
REPLACE | 常量 |
public static const REPLACE:String = "replace"| 语言版本: | ActionScript 3.0 |
| 产品版本: | Flex 3 |
| 运行时版本: | Flash Player 9, AIR 1.1 |
指示已替换由 CollectionEvent location 属性确定的位置处的项目。
RESET | 常量 |
public static const RESET:String = "reset"| 语言版本: | ActionScript 3.0 |
| 产品版本: | Flex 3 |
| 运行时版本: | Flash Player 9, AIR 1.1 |
指示集合已彻底更改,需要进行重置。
UPDATE | 常量 |
public static const UPDATE:String = "update"| 语言版本: | ActionScript 3.0 |
| 产品版本: | Flex 3 |
| 运行时版本: | Flash Player 9, AIR 1.1 |
指示集合中一个或多个项目进行了更新。受影响的项目将存储在 items 属性中。
Tue Jun 12 2018, 11:04 AM Z
隐藏继承的公共属性
显示继承的公共属性