包 | com.adobe.livecycle.rca.model.stage |
类 | public class StageCollection |
继承 | StageCollection ArrayCollection ListCollectionView Proxy |
自以下版本起不推荐使用: Review, Commenting, and Approval 10: 请使用 com.adobe.solutions.rca.vo.ReviewContextVO.stageList
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 9.5 |
运行时版本: | Flash Player 9, Flash Player 10, AIR (unsupported) |
AbstractStage
objects are added to a collection.
默认 MXML 属性source
相关 API 元素
受保护的属性
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
StageCollection(source:Array = null)
Constructor. | StageCollection | ||
向当前列表添加一组项目,将它们按传入顺序放置在列表的末尾。 | ListCollectionView | ||
向当前列表添加一组项目,将它们放置在传递给函数的索引指定的位置。 | ListCollectionView | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。 | ListCollectionView | ||
[覆盖]
Overrides the addItem() method of the ArrayCollection. | StageCollection | ||
[覆盖]
Overrides the addItemAt() method of the ArrayCollection. | StageCollection | ||
Adds items of type AbstractStage to the collection
| StageCollection | ||
Adds items of type AbstractStage to the collection. | StageCollection | ||
返回指示视图是否包含指定对象的信息。 | ListCollectionView | ||
创建使用此视图的新 IViewCursor。 | ListCollectionView | ||
防止视图调度对集合本身和集合中的项目的更改。 | ListCollectionView | ||
将事件调度到事件流中。 | ListCollectionView | ||
启用自动更新。 | ListCollectionView | ||
获取指定索引处的项目。 | ListCollectionView | ||
如果项目位于列表中(这样的话 getItemAt(index) == item),则返回该项目的索引。 | ListCollectionView | ||
Returns an AbstractStage type object instead of a generic object. | StageCollection | ||
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | ListCollectionView | ||
如果 ListCollectionView 是使用 MXML 标签创建的,则由 MXML 编译器自动调用。 | ListCollectionView | ||
itemUpdated(item:Object, property:Object = null, oldValue:Object = null, newValue:Object = null):void
通知视图,某个项目已更新。 | ListCollectionView | ||
将排序和滤镜应用到视图。 | ListCollectionView | ||
删除列表中的所有项目。 | ListCollectionView | ||
从 EventDispatcher 对象中删除侦听器。 | ListCollectionView | ||
删除指定索引处的项目并返回该项目。 | ListCollectionView | ||
在指定的索引处放置项目。 | ListCollectionView | ||
返回与 IList 实现的填充顺序相同的 Array。 | ListCollectionView | ||
将此视图的内容输出到字符串并返回该字符串。 | ListCollectionView | ||
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | ListCollectionView |
构造函数详细信息
StageCollection | () | 构造函数 |
public function StageCollection(source:Array = null)
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 9.5 |
运行时版本: | Flash Player 9, Flash Player 10, AIR (unsupported) |
Constructor.
参数source:Array (default = null ) — Specifies the source used to create a collection of stages. The default value is null .
|
方法详细信息
addItem | () | 方法 |
override public function addItem(item:Object):void
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 9.5 |
运行时版本: | Flash Player 9, Flash Player 10, AIR (unsupported) |
Overrides the addItem()
method of the ArrayCollection
.
Adds an item only if it is of type AbstractStage
.
参数
item:Object |
相关 API 元素
addItemAt | () | 方法 |
override public function addItemAt(item:Object, index:int):void
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 9.5 |
运行时版本: | Flash Player 9, Flash Player 10, AIR (unsupported) |
Overrides the addItemAt()
method of the ArrayCollection
.
Adds an item only if it is of type AbstractStage
.
参数
item:Object | |
index:int |
相关 API 元素
addStage | () | 方法 |
public function addStage(stage:AbstractStage):void
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 9.5 |
运行时版本: | Flash Player 9, Flash Player 10, AIR (unsupported) |
Adds items of type AbstractStage
to the collection
参数
stage:AbstractStage |
相关 API 元素
addStageAt | () | 方法 |
public function addStageAt(stage:AbstractStage, index:int):void
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 9.5 |
运行时版本: | Flash Player 9, Flash Player 10, AIR (unsupported) |
Adds items of type AbstractStage
to the collection.
参数
stage:AbstractStage | |
index:int |
相关 API 元素
getStageAt | () | 方法 |
public function getStageAt(index:int):AbstractStage
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 9.5 |
运行时版本: | Flash Player 9, Flash Player 10, AIR (unsupported) |
Returns an AbstractStage
type object instead of a generic object.
参数
index:int |
AbstractStage |
相关 API 元素
Tue Jun 12 2018, 11:04 AM Z