包 | com.adobe.solutions.prm.presentation.util |
类 | public class StartDateOrderValidator |
继承 | StartDateOrderValidator 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. | StartDateOrderValidator | ||
difference : int
The difference, in days, between the start date of a child project or a workitem and the parent project. | StartDateOrderValidator | ||
enabled : Boolean
将此值设置为 false 将停止验证程序执行验证操作。 | Validator | ||
isLastStateValid : Boolean = true
This property returns a True value if the last state of validator was valid. | MultiTriggerValidator | ||
listener : Object
指定验证侦听器。 | Validator | ||
ParentProjectDateOrderErrorMessage : String
The error message for parent project date order. | StartDateOrderValidator | ||
property : String
一个字符串,用于指定包含要验证的值的 source 对象的属性名称。 | Validator | ||
required : Boolean = true
如果为 true,则指定缺少值或空值将导致验证错误。 | Validator | ||
requiredFieldError : String
缺少值和 required 属性为 true 时的错误消息。 | Validator | ||
source : Object
指定包含要验证的属性的对象。 | Validator | ||
trigger : IEventDispatcher
指定生成触发验证程序的组件。 | Validator | ||
triggerEvent : String
指定触发验证的事件。 | Validator | ||
triggerEvents : Array
This property refers to list of triggers. | MultiTriggerValidator |
受保护的属性
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
The constructor for StartDateOrderValidator class. | StartDateOrderValidator | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。 | EventDispatcher | ||
将事件调度到事件流中。 | EventDispatcher | ||
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | EventDispatcher | ||
表示对象是否已经定义了指定的属性。 | Object | ||
如果 Validator 是使用 MXML 标签创建的,则由 MXML 编译器自动调用。 | Validator | ||
This method returns a True value if any of the triggers have failed. | MultiTriggerValidator | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
从 EventDispatcher 对象中删除侦听器。 | EventDispatcher | ||
设置循环操作动态属性的可用性。 | Object | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回指定对象的字符串表示形式。 | Object | ||
执行验证并(可选)将结果通知给侦听器。 | Validator | ||
[静态]
调用验证程序数组中的所有验证程序。 | 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 a validation error in the start date of a 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 the start date of a 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 the start date of a child project or a workitem and the parent project.
构造函数详细信息
StartDateOrderValidator | () | 构造函数 |
public function StartDateOrderValidator()
语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
The constructor for StartDateOrderValidator
class.
Tue Jun 12 2018, 11:04 AM Z