套件 | 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, 03:47 PM Z