包 | lc.procmgmt.ui.task |
类 | public class TaskInfoModel |
继承 | TaskInfoModel PresentationModel EventDispatcher Object |
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
TaskInfoModel
class provides support for
views that are interested in the Task
object's data,
such as, the TaskInfo
component. To obtain
information about a Task
object, this class binds to the
Task
object's properties.
The status value of the task is always a numeric value; however,
the TaskInfoModel
object provides a localization key string
of the Task
object's status value as a property called
statusKey
. This key can be used as the key for a
resource bundle lookup.
For information on using this component to customize Workspace, see Adobe Digital Enterprise Platform Document Services - Workspace 10.0 User Interface .
相关 API 元素
属性 | 由以下参数定义 | ||
---|---|---|---|
constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | ||
creationTime : Date [只读]
The date and time the task was created. | TaskInfoModel | ||
deadline : Date [只读]
The date the task is due. | TaskInfoModel | ||
description : String [只读]
The description text associated with the task. | TaskInfoModel | ||
instructions : String [只读]
The set of instructions to complete the task. | TaskInfoModel | ||
session : SessionMap
A SessionMap object that stores information relating to the server session. | PresentationModel | ||
state : String [只读]
The name of the state the current view is in. | PresentationModel | ||
status : Number [只读]
The numeric value representing the status of a task. | TaskInfoModel | ||
statusKey : String [只读]
The localization key that identifies the task's status
value as a localized string. | TaskInfoModel | ||
stepName : String [只读]
The name of the operation in a process diagram in which the task participates. | TaskInfoModel | ||
task : lc.procmgmt.domain:Task [只读]
The Task object that all properties of this model
are bound to. | TaskInfoModel | ||
taskId : String [只读]
The unique identifier of the task. | TaskInfoModel | ||
updateTime : Date [只读]
The last time the task was updated. | TaskInfoModel |
方法 | 由以下参数定义 | ||
---|---|---|---|
Constructor. | TaskInfoModel | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。 | EventDispatcher | ||
bindProperty(destination:Object, destinationProperty:String, source:Object, sourceChain:Object, commitOnly:Boolean = false):ChangeWatcher
Binds a public property on the destination object from a property or
property chain on the source object. | PresentationModel | ||
将事件调度到事件流中。 | EventDispatcher | ||
Returns the corresponding cascading style sheet (CSS) property to use based on the specified parameters. | PresentationModel | ||
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | EventDispatcher | ||
表示对象是否已经定义了指定的属性。 | Object | ||
Initializes the presentation model after the view bindings
are processed to prevent view bindings from overriding the initial model state. | PresentationModel | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
从 EventDispatcher 对象中删除侦听器。 | EventDispatcher | ||
Reinitializes the model's task property to a value of null
and the statusKey property to an empty string. | TaskInfoModel | ||
设置循环操作动态属性的可用性。 | Object | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回指定对象的字符串表示形式。 | Object | ||
返回指定对象的原始值。 | Object | ||
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | EventDispatcher |
常量 | 由以下参数定义 | ||
---|---|---|---|
STATE_INITIAL : String = "initialState" [静态]
The model is set to this state when it is created. | TaskInfoModel |
creationTime | 属性 |
deadline | 属性 |
description | 属性 |
description:String
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The description text associated with the task.
此属性可用作数据绑定的源。修改此属性后,将调度 propertyChange
事件。
实现
public function get description():String
instructions | 属性 |
instructions:String
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The set of instructions to complete the task.
此属性可用作数据绑定的源。修改此属性后,将调度 propertyChange
事件。
实现
public function get instructions():String
status | 属性 |
status:Number
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The numeric value representing the status of a task.
The status value typically is not used in the presentation layers.
The statusKey
property is the value usually used by the
presentation layers.
此属性可用作数据绑定的源。修改此属性后,将调度 propertyChange
事件。
实现
public function get status():Number
相关 API 元素
statusKey | 属性 |
statusKey:String
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The localization key that identifies the task's status
value as a localized string. The valid values are found in the
lc.TaskConstants
class.
此属性可用作数据绑定的源。修改此属性后,将调度 propertyChange
事件。
实现
public function get statusKey():String
相关 API 元素
stepName | 属性 |
stepName:String
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The name of the operation in a process diagram in which the task participates.
此属性可用作数据绑定的源。修改此属性后,将调度 propertyChange
事件。
实现
public function get stepName():String
task | 属性 |
task:lc.procmgmt.domain:Task
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The Task
object that all properties of this model
are bound to.
此属性可用作数据绑定的源。修改此属性后,将调度 propertyChange
事件。
实现
public function get task():lc.procmgmt.domain:Task
taskId | 属性 |
updateTime | 属性 |
TaskInfoModel | () | 构造函数 |
public function TaskInfoModel()
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Constructor.
reset | () | 方法 |
public function reset():void
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Reinitializes the model's task
property to a value of null
and the statusKey
property to an empty string.
STATE_INITIAL | 常量 |
public static const STATE_INITIAL:String = "initialState"
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The model is set to this state when it is created.
Tue Jun 12 2018, 11:04 AM Z