套件 | 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 | 屬性 |
creationTime:Date
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The date and time the task was created.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get creationTime():Date
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, 03:47 PM Z