包 | com.adobe.solutions.rca.domain.impl |
类 | public class Stage |
继承 | Stage ![]() |
实现 | IStage, IEventDispatcher |
子类 | StageTemplate |
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
属性 | 由以下参数定义 | ||
---|---|---|---|
additionalMetadata : String
This property can be used to store additional metadata while extending the application. | Stage | ||
allMemberList : IList [只读]
The property returns a collection of all members. | Stage | ||
assignTaskToInitiatorProcess : String
The process that overrides the default AssignTaskToInitiator process. | Stage | ||
assignTaskToParticipantProcess : String
The process that overrides the default AssignTaskToParticipant process. | Stage | ||
calculatedEndDate : Date
The endDate if a review has ended. | Stage | ||
calculatedStartDate : Date
The startDate if a review has started. | Stage | ||
![]() | constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | |
disposition : String
This property can be used to store a custom status for the stage. | Stage | ||
duration : int
The time period in duration unit after which this stage expires. | Stage | ||
durationUnit : String
The unit for the duration field. | Stage | ||
endDate : Date
Date on which the stage execution ended. | Stage | ||
ganttItems : ArrayCollection [只读]
A collection of the displayable children that are displayed in the Gantt chart if showChildren flag is set to True. | Stage | ||
id : String [只读]
A unique identifier for this stage. | Stage | ||
itemEndDate : Date [只读]
End date of the item. | Stage | ||
itemName : String [只读]
Name of the item. | Stage | ||
itemStartDate : Date [只读]
Start date of the item. | Stage | ||
itemState : String [只读]
State of the item. | Stage | ||
itemStatus : String [只读]
Status of the item. | Stage | ||
itemType : String [只读]
Type of item. | Stage | ||
memberList : IList [只读]
The property returns a collection of directly associated members. | Stage | ||
moderators : IList [只读]
Returns a list of moderators for this stage. | Stage | ||
name : String
Name of this stage. | Stage | ||
nonExpiringStage : Boolean
This Boolean flag determines the post-expiry behaviour of a stage. | Stage | ||
nonModeratorParticipant : IList [只读]
Returns a list of non-moderator participants (reviewers and approvers) for this stage. | Stage | ||
operationList : ArrayCollection [只读]
A collection of operations that are available to a user through the context menu in the Gantt chart. | Stage | ||
participants : IList
This property holds the collection of participants for this stage. | Stage | ||
postProcessHookName : String
Name of the process that is executed after the start of this stage. | Stage | ||
preProcessHookName : String
Name of the process that is executed before the start of this stage. | Stage | ||
reference : Boolean
This Boolean value decides whether this stage is a reference to a stage template or not. | Stage | ||
reminders : IList
This property holds the collection of reminders associated with this stage. | Stage | ||
requiresInitiatorReview : Boolean
This Boolean value to decide if in a creation stage an initiator review is required after a collateral is produced or not. | Stage | ||
resolved : Boolean
If this stage is a reference to a stage template, then whether the reference has been resolved or not is decided by this Boolean value. | Stage | ||
reviewContext : IReviewContext
Review context object for this review stage. | Stage | ||
showChildren : Boolean
A Boolean flag to determine if the children need to be displayed. | Stage | ||
showParent : Boolean
A Boolean flag to determine if the parent needs to be displayed. | Stage | ||
signatureType : String
Type of signature required for an approval stage. | Stage | ||
stageNo : int
Number of this stage within the schedule template. | Stage | ||
startDate : Date
Date on which the stage execution started. | Stage | ||
status : String
Status of the stage. | Stage | ||
taskType : String
This property determines the mechanism of task delivery to participants. | Stage | ||
type : String
Defines the type of the stage. | Stage | ||
uniqueMemberList : IList [只读]
The property returns a collection of unique members. | Stage | ||
vo : ReviewStageVO
The Value Object for this stage. | Stage | ||
waitForExpiry : Boolean
A Boolean value to decide whether to wait for the complete duration for expiry even if all the stage participants have completed their tasks before expiry duration or not. | Stage |
方法 | 由以下参数定义 | ||
---|---|---|---|
Stage(value:ReviewStageVO = null)
The constructor for Stage class. | Stage | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event. | Stage | ||
This remote operation adds a member to the collection and submits the change to the server. | Stage | ||
Adds a participant at the end of the list of participants for this stage. | Stage | ||
Adds a participant at the end of the list of participants for this stage. | Stage | ||
Populates the calculatedStartDate and calculatedEndDate fields. | Stage | ||
Calculates duration for this stage based on start and end dates. | Stage | ||
Dispatches an event into the event flow. | Stage | ||
Fetches original document for this stage. | Stage | ||
Fetches document for this stage in the current state. | Stage | ||
A Boolean function to determine if the item has displayable children. | Stage | ||
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | Stage | ||
![]() |
表示对象是否已经定义了指定的属性。 | Object | |
![]() |
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | |
![]() |
表示指定的属性是否存在、是否可枚举。 | Object | |
Removes all the participants in this stage. | Stage | ||
Removes a listener from the EventDispatcher object. | Stage | ||
This remote operation removes a member from the collection and submits the change to the server. | Stage | ||
Removes a participant at the index from the list of participants for this stage. | Stage | ||
Resolves the reference if this stage is a reference to a stage template. | Stage | ||
![]() |
设置循环操作动态属性的可用性。 | Object | |
![]() |
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | |
![]() |
返回指定对象的字符串表示形式。 | Object | |
Updates the stage duration for this stage. | Stage | ||
This remote operation updates the tile of a member present in collection and submits the change to the server. | Stage | ||
![]() |
返回指定对象的原始值。 | Object | |
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. | Stage |
additionalMetadata | 属性 |
additionalMetadata:String
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This property can be used to store additional metadata while extending the application.
实现
public function get additionalMetadata():String
public function set additionalMetadata(value:String):void
allMemberList | 属性 |
allMemberList:IList
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
The property returns a collection of all members. It takes into consideration any child objects that may be of type IMemberCollection
.
此属性可用作数据绑定的源。修改此属性后,将调度 memberListChanged
事件。
实现
public function get allMemberList():IList
assignTaskToInitiatorProcess | 属性 |
assignTaskToInitiatorProcess:String
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
The process that overrides the default AssignTaskToInitiator
process.
实现
public function get assignTaskToInitiatorProcess():String
public function set assignTaskToInitiatorProcess(value:String):void
assignTaskToParticipantProcess | 属性 |
assignTaskToParticipantProcess:String
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
The process that overrides the default AssignTaskToParticipant
process.
实现
public function get assignTaskToParticipantProcess():String
public function set assignTaskToParticipantProcess(value:String):void
calculatedEndDate | 属性 |
calculatedEndDate:Date
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
The endDate
if a review has ended. Otherwise the expected end date.
实现
public function get calculatedEndDate():Date
public function set calculatedEndDate(value:Date):void
calculatedStartDate | 属性 |
calculatedStartDate:Date
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
The startDate
if a review has started. Otherwise the expected start date.
实现
public function get calculatedStartDate():Date
public function set calculatedStartDate(value:Date):void
disposition | 属性 |
disposition:String
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This property can be used to store a custom status for the stage.
实现
public function get disposition():String
public function set disposition(value:String):void
duration | 属性 |
durationUnit | 属性 |
endDate | 属性 |
ganttItems | 属性 |
ganttItems:ArrayCollection
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
A collection of the displayable children that are displayed in the Gantt chart if showChildren
flag is set to True
.
此属性可用作数据绑定的源。修改此属性后,将调度 ganttItemsChanged
事件。
实现
public function get ganttItems():ArrayCollection
id | 属性 |
itemEndDate | 属性 |
itemName | 属性 |
itemStartDate | 属性 |
itemState | 属性 |
itemStatus | 属性 |
itemType | 属性 |
memberList | 属性 |
moderators | 属性 |
name | 属性 |
nonExpiringStage | 属性 |
nonExpiringStage:Boolean
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This Boolean flag determines the post-expiry behaviour of a stage.
实现
public function get nonExpiringStage():Boolean
public function set nonExpiringStage(value:Boolean):void
nonModeratorParticipant | 属性 |
nonModeratorParticipant:IList
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Returns a list of non-moderator participants (reviewers and approvers) for this stage.
此属性可用作数据绑定的源。修改此属性后,将调度 stageParticipantChanged
事件。
实现
public function get nonModeratorParticipant():IList
operationList | 属性 |
operationList:ArrayCollection
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
A collection of operations that are available to a user through the context menu in the Gantt chart.
实现
public function get operationList():ArrayCollection
participants | 属性 |
participants:IList
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This property holds the collection of participants for this stage.
此属性可用作数据绑定的源。修改此属性后,将调度 memberListChanged
事件。
实现
public function get participants():IList
public function set participants(value:IList):void
postProcessHookName | 属性 |
postProcessHookName:String
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Name of the process that is executed after the start of this stage.
实现
public function get postProcessHookName():String
public function set postProcessHookName(value:String):void
preProcessHookName | 属性 |
preProcessHookName:String
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Name of the process that is executed before the start of this stage.
实现
public function get preProcessHookName():String
public function set preProcessHookName(value:String):void
reference | 属性 |
reference:Boolean
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This Boolean value decides whether this stage is a reference to a stage template or not.
实现
public function get reference():Boolean
public function set reference(value:Boolean):void
reminders | 属性 |
reminders:IList
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This property holds the collection of reminders associated with this stage.
实现
public function get reminders():IList
public function set reminders(value:IList):void
requiresInitiatorReview | 属性 |
requiresInitiatorReview:Boolean
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This Boolean value to decide if in a creation stage an initiator review is required after a collateral is produced or not.
实现
public function get requiresInitiatorReview():Boolean
public function set requiresInitiatorReview(value:Boolean):void
resolved | 属性 |
resolved:Boolean
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
If this stage is a reference to a stage template, then whether the reference has been resolved or not is decided by this Boolean value.
实现
public function get resolved():Boolean
public function set resolved(value:Boolean):void
reviewContext | 属性 |
reviewContext:IReviewContext
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Review context object for this review stage.
实现
public function get reviewContext():IReviewContext
public function set reviewContext(value:IReviewContext):void
showChildren | 属性 |
showChildren:Boolean
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
A Boolean flag to determine if the children need to be displayed.
实现
public function get showChildren():Boolean
public function set showChildren(value:Boolean):void
showParent | 属性 |
signatureType | 属性 |
stageNo | 属性 |
startDate | 属性 |
status | 属性 |
taskType | 属性 |
type | 属性 |
uniqueMemberList | 属性 |
vo | 属性 |
vo:ReviewStageVO
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
The Value Object for this stage.
实现
public function get vo():ReviewStageVO
public function set vo(value:ReviewStageVO):void
waitForExpiry | 属性 |
waitForExpiry:Boolean
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
A Boolean value to decide whether to wait for the complete duration for expiry even if all the stage participants have completed their tasks before expiry duration or not.
实现
public function get waitForExpiry():Boolean
public function set waitForExpiry(value:Boolean):void
Stage | () | 构造函数 |
public function Stage(value:ReviewStageVO = null)
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
The constructor for Stage
class.
value:ReviewStageVO (default = null ) — Stage value object.
|
addEventListener | () | 方法 |
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event. You can register event listeners on all nodes in the display list for a specific type of event, phase, and priority.
After you successfully register an event listener, you cannot change its priority
through additional calls to addEventListener()
. To change a listener's priority, you
must first call removeEventListener()
. Then you can register the listener again with the new
priority level.
After the listener is registered, subsequent calls to
addEventListener()
with a different value for either type
or useCapture
result in the
creation of a separate listener registration. For example, if you first register a
listener with useCapture
set to true
, it listens only during the capture phase. If you
call addEventListener()
again using the same listener object, but with useCapture
set to
false
, you have two separate listeners: one that listens during the capture phase, and
another that listens during the target and bubbling phases.
You cannot register an event listener for only the target phase or the bubbling phase. Those phases are coupled during registration because bubbling applies only to the ancestors of the target node.
When you no longer need an event listener, remove it by calling EventDispatcher.removeEventListener()
; otherwise, memory problems might result. Objects
with registered event listeners are not automatically removed from memory because the
garbage collector does not remove objects that still have references.
Copying an EventDispatcher instance does not copy the event listeners attached to it. (If your newly created node needs an event listener, you must attach the listener after creating the node.) However, if you move an EventDispatcher instance, the event listeners attached to it move along with it.
If the event listener is being registered on a node while an event is also being processed on this node, the event listener is not triggered during the current phase but may be triggered during a later phase in the event flow, such as the bubbling phase.
If an event listener is removed from a node while an event is being processed on the node, it is still triggered by the current actions. After it is removed, the event listener is never invoked again (unless it is registered again for future processing).
参数
type:String — The type of event.
| |
listener:Function — The listener function that processes the event. This function must accept an event object
as its only parameter and must return nothing, as this example shows:
| |
useCapture:Boolean (default = false ) — Determines whether the listener works in the capture phase or the target
and bubbling phases. If useCapture is set to true , the
listener processes the event only during the capture phase and not in the target or
bubbling phase. If useCapture is false , the listener processes the event only
during the target or bubbling phase. To listen for the event in all three phases, call
addEventListener() twice, once with useCapture set to true ,
then again with useCapture set to false .
| |
priority:int (default = 0 ) — The priority level of the event listener. Priorities are designated by a 32-bit integer. The higher the number, the higher the priority. All listeners with priority n are processed before listeners of priority n-1. If two or more listeners share the same priority, they are processed in the order in which they were added. The default priority is 0.
| |
weakRef:Boolean (default = false ) — Determines whether the reference to the listener is strong or weak. A strong
reference (the default) prevents your listener from being garbage-collected. A weak
reference does not. Class-level member functions are not subject to garbage
collection, so you can set |
addMemberAndSave | () | 方法 |
public function addMemberAndSave(member:IMember):mx.rpc:AsyncToken
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This remote operation adds a member to the collection and submits the change to the server.
参数
member:IMember — The member to be added to member collection.
|
mx.rpc:AsyncToken — It returns a token on which success or fault handlers can be attached.
|
addParticipant | () | 方法 |
public function addParticipant(participant:IStageParticipant):void
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Adds a participant at the end of the list of participants for this stage.
参数
participant:IStageParticipant — Participant to be added to this stage.
|
addParticipantAt | () | 方法 |
public function addParticipantAt(participant:IStageParticipant, index:int):void
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Adds a participant at the end of the list of participants for this stage.
参数
participant:IStageParticipant — Participant to be added to stage.
| |
index:int — Index at which this participant needs to be added.
|
calculateDates | () | 方法 |
public function calculateDates():void
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Populates the calculatedStartDate
and calculatedEndDate
fields.
calculateStageDuration | () | 方法 |
public function calculateStageDuration():Number
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Calculates duration for this stage based on start and end dates.
返回Number — It returns the duration for this stage in milliseconds.
|
dispatchEvent | () | 方法 |
public function dispatchEvent(event:Event):Boolean
Dispatches an event into the event flow. The event target is the
EventDispatcher object upon which dispatchEvent()
is called.
参数
event:Event — The event object dispatched into the event flow.
|
Boolean — A value of true unless preventDefault() is called on the event,
in which case it returns false .
|
fetchStageDocument | () | 方法 |
public function fetchStageDocument():mx.rpc:AsyncToken
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Fetches original document for this stage.
返回mx.rpc:AsyncToken — It returns a token on which success or fault handlers can be attached. The resulting event contains the document used for review in this stage.
|
fetchStageDocumentWithComment | () | 方法 |
public function fetchStageDocumentWithComment():mx.rpc:AsyncToken
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Fetches document for this stage in the current state.
返回mx.rpc:AsyncToken — It returns a token on which success on fault handlers can be attached. The resulting event contains the document used for review in this stage with inline comments published by customers.
|
hasChildren | () | 方法 |
hasEventListener | () | 方法 |
public function hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. This allows you to determine where an EventDispatcher object has altered handling of an event type in the event flow hierarchy. To determine whether
a specific event type will actually trigger an event listener, use IEventDispatcher.willTrigger()
.
The difference between hasEventListener()
and willTrigger()
is that hasEventListener()
examines only the object to which it belongs, whereas willTrigger()
examines the entire event flow for the event specified by the type
parameter.
参数
type:String — The type of event.
|
Boolean — A value of true if a listener of the specified type is registered; false otherwise.
|
removeAllParticipants | () | 方法 |
public function removeAllParticipants():void
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Removes all the participants in this stage.
removeEventListener | () | 方法 |
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object. If there is no matching listener registered with the EventDispatcher object, a call to this method has no effect.
参数
type:String — The type of event.
| |
listener:Function — The listener object to remove.
| |
useCapture:Boolean (default = false ) — Specifies whether the listener was registered for the capture phase or the target and bubbling phases. If the listener was registered for both the capture phase and the target and bubbling phases, two calls to removeEventListener() are required to remove both: one call with useCapture set to true , and another call with useCapture set to false .
|
removeMemberAndSave | () | 方法 |
public function removeMemberAndSave(member:IMember):mx.rpc:AsyncToken
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This remote operation removes a member from the collection and submits the change to the server.
参数
member:IMember — The member to be removed from member collection.
|
mx.rpc:AsyncToken — It returns a token on which success or fault handlers can be attached.
|
removeParticipantAt | () | 方法 |
public function removeParticipantAt(index:int):IStageParticipant
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Removes a participant at the index from the list of participants for this stage.
参数
index:int — The index in the list of participants for the stage.
|
IStageParticipant — It returns the removed participant.
|
resolveStage | () | 方法 |
public function resolveStage():mx.rpc:AsyncToken
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Resolves the reference if this stage is a reference to a stage template.
返回mx.rpc:AsyncToken — It returns a token on which success or failure handlers can be attached.
|
updateDurationAndSave | () | 方法 |
public function updateDurationAndSave():mx.rpc:AsyncToken
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Updates the stage duration for this stage.
返回mx.rpc:AsyncToken — It returns a token on which success or failure handlers can be attached.
|
updateTitleAndSave | () | 方法 |
public function updateTitleAndSave(member:IMember, title:String):mx.rpc:AsyncToken
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This remote operation updates the tile of a member present in collection and submits the change to the server.
参数
member:IMember — The member to be removed from member collection.
| |
title:String — The title of the member.
|
mx.rpc:AsyncToken — It returns a token on which success or fault handlers can be attached.
|
willTrigger | () | 方法 |
public function willTrigger(type:String):Boolean
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. This method returns true
if an event listener is triggered during any phase of the event flow when an event of the specified type is dispatched to this EventDispatcher object or any of its descendants.
The difference between hasEventListener()
and willTrigger()
is that hasEventListener()
examines only the object to which it belongs, whereas willTrigger()
examines the entire event flow for the event specified by the type
parameter.
参数
type:String — The type of event.
|
Boolean — A value of true if a listener of the specified type will be triggered; false otherwise.
|
Tue Jun 12 2018, 11:04 AM Z