包 | com.adobe.icc.dc.domain |
类 | public class LetterInstance |
继承 | LetterInstance EventDispatcher Object |
实现 | IValidation |
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
属性 | 由以下参数定义 | ||
---|---|---|---|
constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | ||
data : String [只读]
Bindable/Read-only. | LetterInstance | ||
dataDictionaryRef : String [只读]
Returns name of the data dictionary used in this letter instance. | LetterInstance | ||
description : String [只读]
Description of the underlying object. | LetterInstance | ||
fieldInstances : IList [只读]
Collection of FieldInstance objects that represent the domain model for Letter fields
| LetterInstance | ||
formName : String [只读]
Returns name of the form associated with this letter instance. | LetterInstance | ||
id : String [只读]
Unique identification of this instance of letter. | LetterInstance | ||
letter : Letter [只读]
The letter loaded and being filled. | LetterInstance | ||
name : String [只读]
Name of the underlying object. | LetterInstance | ||
state : int [只读]
Returns state of this letter instance. | LetterInstance | ||
targetInstances : IList [只读]
Collection of TargetInstance objects that represent the current state of content selection as well as optional content
for each content target in the current letter. | LetterInstance | ||
useLatest : Boolean [只读]
True if the letter uses latest asset while reload of the letter. | LetterInstance | ||
valid : Boolean [只读]
Boolean indicating whether the content is valid
| LetterInstance | ||
variableInstances : IList [只读]
Collection of VariableInstance objects that represent Variables used in currently
Selected Content. | LetterInstance | ||
version : int [只读]
Returns version of this letter instance. | LetterInstance | ||
xmlData : XML [只读]
Bindable/Read-only. | LetterInstance |
方法 | 由以下参数定义 | ||
---|---|---|---|
LetterInstance(letter:Letter, ddi:DataDictionaryInstanceModel, initialXmlData:XML, params:Map = null)
Constructor. | LetterInstance | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。 | EventDispatcher | ||
将事件调度到事件流中。 | EventDispatcher | ||
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | EventDispatcher | ||
表示对象是否已经定义了指定的属性。 | Object | ||
The function that performs the initialization of the Letter instance.This should be called after form bridge has connected. | LetterInstance | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
Refresh should be called when item is selected. | LetterInstance | ||
从 EventDispatcher 对象中删除侦听器。 | EventDispatcher | ||
设置循环操作动态属性的可用性。 | Object | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回指定对象的字符串表示形式。 | Object | ||
Function which checks if any of the target area or field instance associated with this Letter instance are invalid. | LetterInstance | ||
返回指定对象的原始值。 | Object | ||
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | EventDispatcher |
常量 | 由以下参数定义 | ||
---|---|---|---|
EVENT_LETTER_INITIALIZATION_COMPLETE : String = "letterInitializationComplete" [静态]
The constant defining the letter initialization complete event. | LetterInstance | ||
EVENT_LETTER_INITIALIZATION_ERROR : String = "letterInitializationError" [静态]
The constant defining the letter initialization error event. | LetterInstance | ||
PARAM_USELATEST : * = useLatest [静态]
The constant indicating that letter uses latest asset on previewing the letter. | LetterInstance |
data | 属性 |
dataDictionaryRef | 属性 |
description | 属性 |
fieldInstances | 属性 |
fieldInstances:IList
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Collection of FieldInstance
objects that represent the domain model for Letter fields
此属性可用作数据绑定的源。修改此属性后,将调度 propertyChange
事件。
实现
public function get fieldInstances():IList
formName | 属性 |
id | 属性 |
letter | 属性 |
name | 属性 |
state | 属性 |
targetInstances | 属性 |
targetInstances:IList
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Collection of TargetInstance
objects that represent the current state of content selection as well as optional content
for each content target in the current letter.
此属性可用作数据绑定的源。修改此属性后,将调度 propertyChange
事件。
实现
public function get targetInstances():IList
useLatest | 属性 |
valid | 属性 |
variableInstances | 属性 |
variableInstances:IList
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Collection of VariableInstance
objects that represent Variables used in currently
Selected Content.
此属性可用作数据绑定的源。修改此属性后,将调度 propertyChange
事件。
实现
public function get variableInstances():IList
version | 属性 |
xmlData | 属性 |
xmlData:XML
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Bindable/Read-only. Get the ICC Data to merge with a letter.
Warning: Be careful when serializing this to a string as XML.toXMLString()
will not respect XFA's use of space runs in XHTML.
此属性可用作数据绑定的源。修改此属性后,将调度 propertyChange
事件。
实现
public function get xmlData():XML
相关 API 元素
LetterInstance | () | 构造函数 |
public function LetterInstance(letter:Letter, ddi:DataDictionaryInstanceModel, initialXmlData:XML, params:Map = null)
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Constructor.
参数letter:Letter — Fully populated Letter object
| |
ddi:DataDictionaryInstanceModel — data Dictionary Instance
| |
initialXmlData:XML — initialXml Data containing Icc Control Data if any. This XML is owned by LetterInstance
| |
params:Map (default = null ) — A Map of parameters to be passed to this Letter instance. This can be any set of key/value pairs that is relevant
to the Letter instance.
|
initialize | () | 方法 |
public function initialize():void
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
The function that performs the initialization of the Letter instance.This should be called after form bridge has connected.
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.
validate | () | 方法 |
public function validate():void
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Function which checks if any of the target area or field instance associated with this Letter instance are invalid.
EVENT_LETTER_INITIALIZATION_COMPLETE | 常量 |
public static const EVENT_LETTER_INITIALIZATION_COMPLETE:String = "letterInitializationComplete"
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
The constant defining the letter initialization complete event.
EVENT_LETTER_INITIALIZATION_ERROR | 常量 |
public static const EVENT_LETTER_INITIALIZATION_ERROR:String = "letterInitializationError"
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
The constant defining the letter initialization error event.
PARAM_USELATEST | 常量 |
public static const PARAM_USELATEST:* = useLatest
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
The constant indicating that letter uses latest asset on previewing the letter.
Tue Jun 12 2018, 11:04 AM Z