包 | com.adobe.icc.dc.domain |
类 | public class FieldInstance |
继承 | FieldInstance EventDispatcher Object |
实现 | IDataInstance |
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
属性 | 由以下参数定义 | ||
---|---|---|---|
caption : String [只读]
The caption property of the underlying value object. | FieldInstance | ||
constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | ||
dataType : String [只读]
Return the field type
| FieldInstance | ||
dataTypeValid : Boolean
True if the field's value filled by the user fits in well as per the data type of the field. | FieldInstance | ||
editable : Boolean [只读]
True if the underlying object is editable. | FieldInstance | ||
formSomExpression : String [只读]
The SOM Expression of the target. | FieldInstance | ||
isNewField : Boolean [只读]
[Applicable during reload]
True if this is a new Field, that did not exist when the Letter was submitted. | FieldInstance | ||
isRemoved : Boolean [只读]
[Applicable during reload]
True if this Field has been removed from the latest version of the layout. | FieldInstance | ||
name : String [只读]
The name property of the underlying value object. | FieldInstance | ||
optional : Boolean [只读]
True if the underlying object is optional. | FieldInstance | ||
order : int [只读]
The order of a field represents the order in which it is laid out in the layout or fragment of a letter. | FieldInstance | ||
subType : String [只读]
The sub type of the data element in case when type of data element specified is ENUM. | FieldInstance | ||
toolTip : String [只读]
The toolTip property of the underlying value object. | FieldInstance | ||
valid : Boolean [只读]
Boolean indicating whether the content is valid
| FieldInstance | ||
value : *
The value of the data element(variable or field) associated with the letter instance. | FieldInstance | ||
valueSet : IList [只读]
The list of value of the data element in case when type of data element specified is ENUM. | FieldInstance |
方法 | 由以下参数定义 | ||
---|---|---|---|
FieldInstance(value:FieldData)
Constructor. | FieldInstance | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。 | EventDispatcher | ||
将事件调度到事件流中。 | EventDispatcher | ||
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | EventDispatcher | ||
表示对象是否已经定义了指定的属性。 | Object | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
Refresh should be called when item is selected. | FieldInstance | ||
从 EventDispatcher 对象中删除侦听器。 | EventDispatcher | ||
设置循环操作动态属性的可用性。 | Object | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回指定对象的字符串表示形式。 | Object | ||
返回指定对象的原始值。 | Object | ||
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | EventDispatcher |
caption | 属性 |
dataType | 属性 |
dataTypeValid | 属性 |
dataTypeValid:Boolean
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
True if the field's value filled by the user fits in well as per the data type of the field. for e.g dataTypeValid attribute is false when a string is filled in for a Number-type field.
此属性可用作数据绑定的源。修改此属性后,将调度 propertyChange
事件。
实现
public function get dataTypeValid():Boolean
public function set dataTypeValid(value:Boolean):void
editable | 属性 |
formSomExpression | 属性 |
isNewField | 属性 |
isNewField:Boolean
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
[Applicable during reload] True if this is a new Field, that did not exist when the Letter was submitted.
默认值为 false。
此属性可用作数据绑定的源。修改此属性后,将调度 propertyChange
事件。
实现
public function get isNewField():Boolean
isRemoved | 属性 |
isRemoved:Boolean
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
[Applicable during reload] True if this Field has been removed from the latest version of the layout.
默认值为 false。
此属性可用作数据绑定的源。修改此属性后,将调度 propertyChange
事件。
实现
public function get isRemoved():Boolean
name | 属性 |
optional | 属性 |
order | 属性 |
subType | 属性 |
toolTip | 属性 |
valid | 属性 |
value | 属性 |
value:*
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
The value of the data element(variable or field) associated with the letter instance.
此属性可用作数据绑定的源。修改此属性后,将调度 propertyChange
事件。
实现
public function get value():*
public function set value(value:any):void
valueSet | 属性 |
FieldInstance | () | 构造函数 |
public function FieldInstance(value:FieldData)
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Constructor.
参数value:FieldData — The FieldData object represented by FieldInstance.
|
refresh | () | 方法 |
public function refresh():void
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Refresh should be called when item is selected. This is useful in case when the the item is deselcted. In that case, if there is any change in variable value/ field value etc., those changes may not be propagated to module.
Tue Jun 12 2018, 11:04 AM Z