套件 | com.adobe.solutions.prm.presentation.util |
類別 | public class EndDateOrderValidator |
繼承 | EndDateOrderValidator MultiTriggerValidator Validator EventDispatcher Object |
語言版本: | ActionScript 3.0 |
產品版本: | Project Management Building Block 10 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
公用屬性
屬性 | 定義自 | ||
---|---|---|---|
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
DateOrderErrorMessage : String
The error message for date order. | EndDateOrderValidator | ||
difference : int
The difference, in days, between end date of child project or a workitem and the parent project. | EndDateOrderValidator | ||
enabled : Boolean
Setting this value to false will stop the validator
from performing validation. | Validator | ||
isLastStateValid : Boolean = true
This property returns a True value if the last state of validator was valid. | MultiTriggerValidator | ||
listener : Object
Specifies the validation listener. | Validator | ||
ParentProjectDateOrderErrorMessage : String
The error message for parent project date order. | EndDateOrderValidator | ||
property : String
A String specifying the name of the property
of the source object that contains
the value to validate. | Validator | ||
required : Boolean = true
If true, specifies that a missing or empty
value causes a validation error. | Validator | ||
requiredFieldError : String
Error message when a value is missing and the
required property is true. | Validator | ||
source : Object
Specifies the object containing the property to validate. | Validator | ||
trigger : IEventDispatcher
Specifies the component generating the event that triggers the validator. | Validator | ||
triggerEvent : String
Specifies the event that triggers the validation. | Validator | ||
triggerEvents : Array
This property refers to list of triggers. | MultiTriggerValidator |
公用方法
方法 | 定義自 | ||
---|---|---|---|
The constructor for EndDateOrderValidator class. | EndDateOrderValidator | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | EventDispatcher | ||
會將事件傳送到事件流程。 | EventDispatcher | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | EventDispatcher | ||
指出物件是否有已定義的指定屬性。 | Object | ||
Called automatically by the MXML compiler when the Validator
is created using an MXML tag. | Validator | ||
This method returns a True value if any of the triggers have failed. | MultiTriggerValidator | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
Performs validation and optionally notifies
the listeners of the result. | Validator | ||
[靜態]
Invokes all the validators in the validators Array. | Validator | ||
會傳回指定之物件的基本值。 | Object | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher |
屬性詳細資訊
DateOrderErrorMessage | 屬性 |
public var DateOrderErrorMessage:String
語言版本: | ActionScript 3.0 |
產品版本: | Project Management Building Block 10 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
The error message for date order. This message is displayed when there is validation error in end date of project, with respect to, its start date.
difference | 屬性 |
difference:int
語言版本: | ActionScript 3.0 |
產品版本: | Project Management Building Block 10 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
The difference, in days, between end date of child project or a workitem and the parent project.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get difference():int
public function set difference(value:int):void
ParentProjectDateOrderErrorMessage | 屬性 |
public var ParentProjectDateOrderErrorMessage:String
語言版本: | ActionScript 3.0 |
產品版本: | Project Management Building Block 10 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
The error message for parent project date order. This message is displayed when there is a validation error in end date of a child project or a workitem and the parent project.
建構函式詳細資料
EndDateOrderValidator | () | 建構函式 |
public function EndDateOrderValidator()
語言版本: | ActionScript 3.0 |
產品版本: | Project Management Building Block 10 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
The constructor for EndDateOrderValidator
class.
Tue Jun 12 2018, 03:47 PM Z