用于 Adobe® Flash® Platform 的 ActionScript® 3.0 参考
主页  |  隐藏包列表和类列表 |   |   |  新增内容  |  索引  |  附录  |  为什么显示为英语?
过滤条件: 正在从服务器检索数据...
正在从服务器检索数据...
com.adobe.livecycle.rca.model.participant 

ApproverCollection  - AS3 Review, Commenting, and Approval

com.adobe.livecycle.rca.model.participant
public class ApproverCollection
继承ApproverCollection Inheritance ArrayCollection Inheritance ListCollectionView Inheritance Proxy
自以下版本起不推荐使用: Review, Commenting, and Approval 10: 请使用 com.adobe.solutions.rca.vo.ReviewStageVO.participants

语言版本: ActionScript 3.0
产品版本: Review, Commenting, and Approval Building Block 9.5
运行时版本: Flash Player 9, Flash Player 10, AIR (unsupported)

Specifies that Approver objects are added to a collection.

默认 MXML 属性source



公共属性
 属性由以下参数定义
 InheritedfilterFunction : Function
视图用来消除不符合函数条件的项目的函数。
ListCollectionView
 Inheritedlength : int
[只读] 此视图中的项目数。
ListCollectionView
 Inheritedlist : IList
此集合视图所封装的 IList。
ListCollectionView
 Inheritedsort : ISort
将应用于 ICollectionView 的 ISort。
ListCollectionView
 Inheritedsource : Array
ArrayCollection 中的数据源。
ArrayCollection
受保护的属性
 属性由以下参数定义
 InheritedlocalIndex : Array
视图经过排序或过滤后,localIndex 属性会在排序或过滤后(已排序、已缩减)的视图中包含按排序顺序显示的项目的数组。
ListCollectionView
公共方法
 方法由以下参数定义
  
ApproverCollection(source:Array = null)
Constructor.
ApproverCollection
 Inherited
addAll(addList:IList):void
向当前列表添加一组项目,将它们按传入顺序放置在列表的末尾。
ListCollectionView
 Inherited
addAllAt(addList:IList, index:int):void
向当前列表添加一组项目,将它们放置在传递给函数的索引指定的位置。
ListCollectionView
  
Adds items of type Approver to the collection.
ApproverCollection
  
addApproverAt(approver:Approver, index:int):void
Adds items of type Approver to the collection.
ApproverCollection
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。
ListCollectionView
  
[覆盖] Overrides the addItem() method of ArrayCollection.
ApproverCollection
  
addItemAt(item:Object, index:int):void
[覆盖] Overrides the addItemAt() method for ArrayCollection.
ApproverCollection
 Inherited
返回指示视图是否包含指定对象的信息。
ListCollectionView
 Inherited
创建使用此视图的新 IViewCursor。
ListCollectionView
 Inherited
防止视图调度对集合本身和集合中的项目的更改。
ListCollectionView
 Inherited
将事件调度到事件流中。
ListCollectionView
 Inherited
启用自动更新。
ListCollectionView
  
Returns a Approver type object instead of a generic object.
ApproverCollection
 Inherited
getItemAt(index:int, prefetch:int = 0):Object
获取指定索引处的项目。
ListCollectionView
 Inherited
如果项目位于列表中(这样的话 getItemAt(index) == item),则返回该项目的索引。
ListCollectionView
 Inherited
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。
ListCollectionView
 Inherited
如果 ListCollectionView 是使用 MXML 标签创建的,则由 MXML 编译器自动调用。
ListCollectionView
 Inherited
itemUpdated(item:Object, property:Object = null, oldValue:Object = null, newValue:Object = null):void
通知视图,某个项目已更新。
ListCollectionView
 Inherited
将排序和滤镜应用到视图。
ListCollectionView
 Inherited
删除列表中的所有项目。
ListCollectionView
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
从 EventDispatcher 对象中删除侦听器。
ListCollectionView
 Inherited
删除指定索引处的项目并返回该项目。
ListCollectionView
 Inherited
setItemAt(item:Object, index:int):Object
在指定的索引处放置项目。
ListCollectionView
 Inherited
返回与 IList 实现的填充顺序相同的 Array。
ListCollectionView
 Inherited
将此视图的内容输出到字符串并返回该字符串。
ListCollectionView
 Inherited
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。
ListCollectionView
事件
 事件 摘要 由以下参数定义
 Inherited以某种方式更新 ICollectionView 后调度。ListCollectionView
构造函数详细信息

ApproverCollection

()构造函数
public function ApproverCollection(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) — The source of data in the ApproverCollection.
方法详细信息

addApprover

()方法
public function addApprover(approver:Approver):void

语言版本: ActionScript 3.0
产品版本: Review, Commenting, and Approval Building Block 9.5
运行时版本: Flash Player 9, Flash Player 10, AIR (unsupported)

Adds items of type Approver to the collection.

参数

approver:Approver — The approver to add.

相关 API 元素

addApproverAt

()方法 
public function addApproverAt(approver:Approver, 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 Approver to the collection.

参数

approver:Approver — The approver to place at the index.
 
index:int — The index at which to place the approver.

相关 API 元素

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 ArrayCollection. Adds an item only if it is of type Approver.

参数

item:Object — The item to add.

相关 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 for ArrayCollection. Adds an item only if it is of type Approver.

参数

item:Object — The item to place at the index.
 
index:int — The index at which to place the item.

相关 API 元素

getApproverAt

()方法 
public function getApproverAt(index:int):Approver

语言版本: ActionScript 3.0
产品版本: Review, Commenting, and Approval Building Block 9.5
运行时版本: Flash Player 9, Flash Player 10, AIR (unsupported)

Returns a Approver type object instead of a generic object.

参数

index:int — The index in the list from which to retrieve the approver.

返回
Approver — The approver at the specified index, or null if there is none.

相关 API 元素





[ X ]为什么显示为英语?
《ActionScript 3.0 参考》中的内容以英语显示

《ActionScript 3.0 参考》中的部分内容未翻译成所有语言。当某个语言元素未翻译时,将显示为英语。例如,ga.controls.HelpBox 类未翻译成任何语言。因此在简体中文版的参考中,ga.controls.HelpBox 类显示为英语。