Pakket | com.adobe.icc.dc.domain |
Klasse | public class TargetInstance |
Overerving | TargetInstance EventDispatcher Object |
Implementatie | IContainerInstance, IValidation |
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 10.0 |
Runtimeversies: | AIR (unsupported), Flash Player 10.2 |
Eigenschap | Gedefinieerd door | ||
---|---|---|---|
allowFreeText : Boolean [alleen-lezen]
True if the free text can be added to target instance. | TargetInstance | ||
constructor : Object
Verwijzing naar het klasseobject of de constructorfunctie van een bepaalde objectinstantie. | Object | ||
contents : IList [alleen-lezen]
List of the contents associated with this Container instance. | TargetInstance | ||
contentVariables : IList [alleen-lezen]
Bindable/Read-only. | TargetInstance | ||
formSomExpression : String [alleen-lezen]
The SOM Expression of the target. | TargetInstance | ||
hasContentRemoved : Boolean [alleen-lezen]
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 [alleen-lezen]
The name of the target. | TargetInstance | ||
open : Boolean [alleen-lezen]
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 [alleen-lezen]
The target's depth-first order. | TargetInstance | ||
ordered : Boolean [alleen-lezen]
True if the container's contents order is fixed; false if its contents can be re-ordered. | TargetInstance | ||
valid : Boolean [alleen-lezen]
Boolean indicating whether the content is valid
| TargetInstance |
Methode | Gedefinieerd door | ||
---|---|---|---|
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
Registreert een gebeurtenislistenerobject bij een object EventDispatcher, zodat de listener een melding van een gebeurtenis ontvangt. | EventDispatcher | ||
Inserts the specified raw DataModule into the list's contents as extra selected content if list is open. | TargetInstance | ||
Verzendt een gebeurtenis naar de gebeurtenisstroom. | EventDispatcher | ||
Controleert of het object EventDispatcher listeners heeft geregistreerd voor een specifiek type gebeurtenis. | EventDispatcher | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
Moves the specified item within the list's content one position in the specified direction. | TargetInstance | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | 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 | ||
Verwijdert een listener uit het object EventDispatcher. | EventDispatcher | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | ||
The function checks for the valid state of the Module instances and accordingly updates the valid flag. | TargetInstance | ||
Retourneert de primitieve waarde van het opgegeven object. | Object | ||
Controleert of een gebeurtenislistener is geregistreerd bij dit object EventDispatcher of een van de voorouders voor het opgegeven type gebeurtenis. | EventDispatcher |
Methode | Gedefinieerd door | ||
---|---|---|---|
Everytime when contentVariables list is updated, it removes variable change listeners in old varaibleInstance and add
variable change listeners in new variableInstance. | TargetInstance |
allowFreeText | eigenschap |
contents | eigenschap |
contents:IList
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 10.0 |
Runtimeversies: | AIR (unsupported), Flash Player 10.2 |
List of the contents associated with this Container instance.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get contents():IList
contentVariables | eigenschap |
contentVariables:IList
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 10.0 |
Runtimeversies: | AIR (unsupported), Flash Player 10.2 |
Bindable/Read-only. The set of active variables for the module. Empty if there are none.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get contentVariables():IList
formSomExpression | eigenschap |
hasContentRemoved | eigenschap |
hasContentRemoved:Boolean
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 10.0 |
Runtimeversies: | 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]
Implementatie
public function get hasContentRemoved():Boolean
isNewTarget | eigenschap |
public var isNewTarget:Boolean = false
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 10.0 |
Runtimeversies: | 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.
De standaardwaarde is false.
name | eigenschap |
open | eigenschap |
open:Boolean
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 10.0 |
Runtimeversies: | 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.
Implementatie
public function get open():Boolean
order | eigenschap |
ordered | eigenschap |
ordered:Boolean
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 10.0 |
Runtimeversies: | AIR (unsupported), Flash Player 10.2 |
True if the container's contents order is fixed; false if its contents can be re-ordered.
Implementatie
public function get ordered():Boolean
valid | eigenschap |
valid:Boolean
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 10.0 |
Runtimeversies: | AIR (unsupported), Flash Player 10.2 |
Boolean indicating whether the content is valid
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis validChange
verzonden.
Implementatie
public function get valid():Boolean
TargetInstance | () | Constructor |
public function TargetInstance(targetData:com.adobe.icc.dc.data:TargetData, reloadTarget:com.adobe.icc.dc.data.reload:ReloadTarget = null)
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 10.0 |
Runtimeversies: | AIR (unsupported), Flash Player 10.2 |
Constructor.
ParameterstargetData: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 | () | methode |
public function addRawModule(dataModule:DataModule, position:int = -1):IModuleInstance
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 10.0 |
Runtimeversies: | AIR (unsupported), Flash Player 10.2 |
Inserts the specified raw DataModule
into the list's contents as extra selected content if list is open.
Parameters
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 | () | methode |
public function moveContent(sourceModule:IModuleInstance, moveUp:Boolean):void
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 10.0 |
Runtimeversies: | AIR (unsupported), Flash Player 10.2 |
Moves the specified item within the list's content one position in the specified direction.
Parameters
sourceModule:IModuleInstance — The item to move.
| |
moveUp:Boolean — True to move up, false to move down.
|
refresh | () | methode |
public function refresh():void
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 10.0 |
Runtimeversies: | 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 | () | methode |
public function removeContent(sourceModule:IModuleInstance):void
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 10.0 |
Runtimeversies: | 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
Parameters
sourceModule:IModuleInstance — The item to be removed.
|
setContentVariables | () | methode |
protected function setContentVariables(value:IList):void
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 10.0 |
Runtimeversies: | 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.
Parameters
value:IList — The list of VariableInstance objects.
|
validate | () | methode |
public function validate():void
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 10.0 |
Runtimeversies: | AIR (unsupported), Flash Player 10.2 |
The function checks for the valid state of the Module instances and accordingly updates the valid flag.
Wed Jun 13 2018, 11:42 AM Z