Paket | com.adobe.icc.dc.domain |
Klass | public class TargetInstance |
Arv | TargetInstance EventDispatcher Object |
Implementerar | IContainerInstance, 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 | ||
---|---|---|---|
allowFreeText : Boolean [skrivskyddad]
True if the free text can be added to target instance. | TargetInstance | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
contents : IList [skrivskyddad]
List of the contents associated with this Container instance. | TargetInstance | ||
contentVariables : IList [skrivskyddad]
Bindable/Read-only. | TargetInstance | ||
formSomExpression : String [skrivskyddad]
The SOM Expression of the target. | TargetInstance | ||
hasContentRemoved : Boolean [skrivskyddad]
True if the Target has one or more content removed from it, than what was originall assigned. | TargetInstance | ||
isNewTarget : Boolean = false
[Applicable during reload]
True if this is a new container target, that did not exist when the Letter was submitted. | TargetInstance | ||
name : String [skrivskyddad]
The name of the target. | TargetInstance | ||
open : Boolean [skrivskyddad]
True if the container is open to extra content; false if it only allows content that was explicitly assigned to it in the letter. | TargetInstance | ||
order : int [skrivskyddad]
The target's depth-first order. | TargetInstance | ||
ordered : Boolean [skrivskyddad]
True if the container's contents order is fixed; false if its contents can be re-ordered. | TargetInstance | ||
valid : Boolean [skrivskyddad]
Boolean indicating whether the content is valid
| TargetInstance |
Metod | Definieras med | ||
---|---|---|---|
TargetInstance(targetData:com.adobe.icc.dc.data:TargetData, reloadTarget:com.adobe.icc.dc.data.reload:ReloadTarget = null)
Constructor. | TargetInstance | ||
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 | ||
Inserts the specified raw DataModule into the list's contents as extra selected content if list is open. | TargetInstance | ||
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 | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Moves the specified item within the list's content one position in the specified direction. | TargetInstance | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Refresh should be called when item is selected. | TargetInstance | ||
Removes the specified item from the list's collection if the item is found in the collection and is non mandatory
| TargetInstance | ||
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 | ||
The function checks for the valid state of the Module instances and accordingly updates the valid flag. | TargetInstance | ||
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 |
Metod | Definieras med | ||
---|---|---|---|
Everytime when contentVariables list is updated, it removes variable change listeners in old varaibleInstance and add
variable change listeners in new variableInstance. | TargetInstance |
allowFreeText | egenskap |
contents | egenskap |
contents:IList
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
List of the contents associated with this Container instance.
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 contents():IList
contentVariables | egenskap |
contentVariables:IList
[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. The set of active variables for the module. Empty if there are none.
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 contentVariables():IList
formSomExpression | egenskap |
hasContentRemoved | egenskap |
hasContentRemoved:Boolean
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
True if the Target has one or more content removed from it, than what was originall assigned. [Relevant when reloading]
Implementering
public function get hasContentRemoved():Boolean
isNewTarget | egenskap |
public var isNewTarget:Boolean = false
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
[Applicable during reload] True if this is a new container target, that did not exist when the Letter was submitted.
Standardvärdet är false.
name | egenskap |
open | egenskap |
open:Boolean
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
True if the container is open to extra content; false if it only allows content that was explicitly assigned to it in the letter.
Implementering
public function get open():Boolean
order | egenskap |
ordered | egenskap |
ordered:Boolean
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
True if the container's contents order is fixed; false if its contents can be re-ordered.
Implementering
public function get ordered():Boolean
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 validChange
.
Implementering
public function get valid():Boolean
TargetInstance | () | Konstruktor |
public function TargetInstance(targetData:com.adobe.icc.dc.data:TargetData, reloadTarget:com.adobe.icc.dc.data.reload:ReloadTarget = null)
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Constructor.
ParametrartargetData:com.adobe.icc.dc.data:TargetData — The TargetData object associated with this TargetInstance.
| |
reloadTarget:com.adobe.icc.dc.data.reload:ReloadTarget (default = null ) — Reload Target for the case of correspondence reload.
|
addRawModule | () | metod |
public function addRawModule(dataModule:DataModule, position:int = -1):IModuleInstance
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Inserts the specified raw DataModule
into the list's contents as extra selected content if list is open.
Parametrar
dataModule:DataModule — dataModule The module to select/insert.
| |
position:int (default = -1 ) — The absolute position at which to insert the module into the contents list. The dataModule becomes the new element
at that position in the list. If position is less than zero or beyond the end of the list, the content is
appended. If the list is fixed-order, then module is appended at end.
|
IModuleInstance —
|
moveContent | () | metod |
public function moveContent(sourceModule:IModuleInstance, moveUp:Boolean):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Moves the specified item within the list's content one position in the specified direction.
Parametrar
sourceModule:IModuleInstance — The item to move.
| |
moveUp:Boolean — True to move up, false to move down.
|
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.
removeContent | () | metod |
public function removeContent(sourceModule:IModuleInstance):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Removes the specified item from the list's collection if the item is found in the collection and is non mandatory
Parametrar
sourceModule:IModuleInstance — The item to be removed.
|
setContentVariables | () | metod |
protected function setContentVariables(value:IList):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Everytime when contentVariables list is updated, it removes variable change listeners in old varaibleInstance and add variable change listeners in new variableInstance.
Parametrar
value:IList — The list of VariableInstance objects.
|
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 |
The function checks for the valid state of the Module instances and accordingly updates the valid flag.
Tue Jun 12 2018, 01:40 PM Z