Paket | com.adobe.icc.dc.domain |
Klass | public class LetterInstance |
Arv | LetterInstance EventDispatcher Object |
Implementerar | IValidation |
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Egenskap | Definieras med | ||
---|---|---|---|
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
data : String [skrivskyddad]
Bindable/Read-only. | LetterInstance | ||
dataDictionaryRef : String [skrivskyddad]
Returns name of the data dictionary used in this letter instance. | LetterInstance | ||
description : String [skrivskyddad]
Description of the underlying object. | LetterInstance | ||
fieldInstances : IList [skrivskyddad]
Collection of FieldInstance objects that represent the domain model for Letter fields
| LetterInstance | ||
formName : String [skrivskyddad]
Returns name of the form associated with this letter instance. | LetterInstance | ||
id : String [skrivskyddad]
Unique identification of this instance of letter. | LetterInstance | ||
letter : Letter [skrivskyddad]
The letter loaded and being filled. | LetterInstance | ||
name : String [skrivskyddad]
Name of the underlying object. | LetterInstance | ||
state : int [skrivskyddad]
Returns state of this letter instance. | LetterInstance | ||
targetInstances : IList [skrivskyddad]
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 [skrivskyddad]
True if the letter uses latest asset while reload of the letter. | LetterInstance | ||
valid : Boolean [skrivskyddad]
Boolean indicating whether the content is valid
| LetterInstance | ||
variableInstances : IList [skrivskyddad]
Collection of VariableInstance objects that represent Variables used in currently
Selected Content. | LetterInstance | ||
version : int [skrivskyddad]
Returns version of this letter instance. | LetterInstance | ||
xmlData : XML [skrivskyddad]
Bindable/Read-only. | LetterInstance |
Metod | Definieras med | ||
---|---|---|---|
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
Registrerar ett händelseavlyssnarobjekt för ett EventDispatcher-objekt så att avlyssnaren får meddelanden om händelser. | EventDispatcher | ||
Skickar en händelse till händelseflödet. | EventDispatcher | ||
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse. | EventDispatcher | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
The function that performs the initialization of the Letter instance.This should be called after form bridge has connected. | LetterInstance | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Refresh should be called when item is selected. | LetterInstance | ||
Tar bort en avlyssnare från EventDispatcher-objektet. | EventDispatcher | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Function which checks if any of the target area or field instance associated with this Letter instance are invalid. | LetterInstance | ||
Returnerar det angivna objektets primitiva värde. | Object | ||
Kontrollerar om en händelseavlyssnare är registrerad för det här EventDispatcher-objektet eller något av dess överordnade objekt för den angivna händelsetypen. | EventDispatcher |
Konstant | Definieras med | ||
---|---|---|---|
EVENT_LETTER_INITIALIZATION_COMPLETE : String = "letterInitializationComplete" [statisk]
The constant defining the letter initialization complete event. | LetterInstance | ||
EVENT_LETTER_INITIALIZATION_ERROR : String = "letterInitializationError" [statisk]
The constant defining the letter initialization error event. | LetterInstance | ||
PARAM_USELATEST : * = useLatest [statisk]
The constant indicating that letter uses latest asset on previewing the letter. | LetterInstance |
data | egenskap |
data:String
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Bindable/Read-only. Get the raw ICC Data to merge with a letter.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get data():String
Relaterade API-element
dataDictionaryRef | egenskap |
dataDictionaryRef:String
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Returns name of the data dictionary used in this letter instance.
Implementering
public function get dataDictionaryRef():String
description | egenskap |
fieldInstances | egenskap |
fieldInstances:IList
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Collection of FieldInstance
objects that represent the domain model for Letter fields
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get fieldInstances():IList
formName | egenskap |
id | egenskap |
letter | egenskap |
name | egenskap |
state | egenskap |
targetInstances | egenskap |
targetInstances:IList
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | 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.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get targetInstances():IList
useLatest | egenskap |
valid | egenskap |
valid:Boolean
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Boolean indicating whether the content is valid
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get valid():Boolean
variableInstances | egenskap |
variableInstances:IList
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Collection of VariableInstance
objects that represent Variables used in currently
Selected Content.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get variableInstances():IList
version | egenskap |
xmlData | egenskap |
xmlData:XML
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | 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.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get xmlData():XML
Relaterade API-element
LetterInstance | () | Konstruktor |
public function LetterInstance(letter:Letter, ddi:DataDictionaryInstanceModel, initialXmlData:XML, params:Map = null)
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Constructor.
Parametrarletter: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 | () | metod |
public function initialize():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | 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 | () | metod |
public function refresh():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | 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 | () | metod |
public function validate():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | 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 | Konstant |
public static const EVENT_LETTER_INITIALIZATION_COMPLETE:String = "letterInitializationComplete"
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
The constant defining the letter initialization complete event.
EVENT_LETTER_INITIALIZATION_ERROR | Konstant |
public static const EVENT_LETTER_INITIALIZATION_ERROR:String = "letterInitializationError"
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
The constant defining the letter initialization error event.
PARAM_USELATEST | Konstant |
public static const PARAM_USELATEST:* = useLatest
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
The constant indicating that letter uses latest asset on previewing the letter.
Tue Jun 12 2018, 01:40 PM Z