Paket | com.adobe.icc.dc.domain |
Klass | public class BaseModuleInstance |
Arv | BaseModuleInstance EventDispatcher Object |
Implementerar | IModuleInstance |
Underklasser | ConditionModuleInstance, ImageModuleInstance, ListModuleInstance, TextModuleInstance |
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Egenskap | Definieras med | ||
---|---|---|---|
assignedPosition : int [skrivskyddad]
The assigned position of the module within its container. | BaseModuleInstance | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
contentVariables : IList [skrivskyddad]
The set of active variables for the module. | BaseModuleInstance | ||
description : String [skrivskyddad]
Description associated with this ModuleInstance. | BaseModuleInstance | ||
editable : Boolean [skrivskyddad]
True if this module is editable in its container (based on the assignment). | BaseModuleInstance | ||
extra : Boolean [skrivskyddad]
The flag indicating if this module was not assigned while creating the letter. | BaseModuleInstance | ||
hasConflict : Boolean [skrivskyddad]
The flag indicating if this module is conflicting with its latest version. | BaseModuleInstance | ||
id : String [skrivskyddad]
Unique identification associated with this ModuleInstance. | BaseModuleInstance | ||
indentationLevel : Number
The level of indentation of the module with respect to the container holding the module instance. | BaseModuleInstance | ||
moduleType : String [skrivskyddad]
Module type represented by this ModuleInstance: Text,Image,List,Condition
| BaseModuleInstance | ||
moduleVo : DataModule [skrivskyddad]
The instance of DataModule associated with this module instance. | BaseModuleInstance | ||
name : String [skrivskyddad]
Name associated with this ModuleInstance. | BaseModuleInstance | ||
newMandatory : Boolean [skrivskyddad]
The flag indicating if this module was not mandatory earlier but is now mandatory when considering the latest version of the module instance. | BaseModuleInstance | ||
nonEditableOverride : Boolean [skrivskyddad]
The flag indicating if this module was editable earlier but is now non-editable when considering the latest version of the module instance. | BaseModuleInstance | ||
occur : int
The occurrence index of this content within its parent container. | BaseModuleInstance | ||
optional : Boolean [skrivskyddad]
True if this module is optional in its container (based on the assignment, not the selected state). | BaseModuleInstance | ||
parentContainer : IContainerInstance [skrivskyddad]
Parent container instance containing this ModuleInstance
| BaseModuleInstance | ||
preSelected : Boolean [skrivskyddad]
True if this module is pre-selected/removable in its container (based on the assignment, not the selected state). | BaseModuleInstance | ||
selected : Boolean
Is the module is selected to be included in letter
| BaseModuleInstance | ||
selectedPosition : int
Position of the content in it's container among all the selected contents of the container. | BaseModuleInstance | ||
skipStyle : Boolean [skrivskyddad]
Skip Style of the module. | BaseModuleInstance | ||
tooltip : String [skrivskyddad]
Tooltip associated with this ModuleInstance. | BaseModuleInstance | ||
valid : Boolean [skrivskyddad]
Boolean indicating whether the content is valid
| BaseModuleInstance |
Metod | Definieras med | ||
---|---|---|---|
BaseModuleInstance(remod:ReloadModule = null)
Constructor. | BaseModuleInstance | ||
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 | ||
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. | BaseModuleInstance | ||
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 | ||
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 | ||
---|---|---|---|
moduleDataChangeHandler(event:ModuleDataEvent):void
Called when the module content's associated data object changes. | BaseModuleInstance |
assignedPosition | egenskap |
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 |
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
description | egenskap |
editable | egenskap |
editable: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 this module is editable in its container (based on the assignment).
Implementering
public function get editable():Boolean
extra | egenskap |
extra:Boolean
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
The flag indicating if this module was not assigned while creating the letter. For e.g a module added to the letter through Library access will have extra attribute as true.
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 extra():Boolean
hasConflict | egenskap |
hasConflict:Boolean
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
The flag indicating if this module is conflicting with its latest version.
Implementering
public function get hasConflict():Boolean
id | egenskap |
indentationLevel | egenskap |
indentationLevel:Number
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
The level of indentation of the module with respect to the container holding the module 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 indentationLevel():Number
public function set indentationLevel(value:Number):void
moduleType | egenskap |
moduleType:String
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Module type represented by this ModuleInstance: Text,Image,List,Condition
Implementering
public function get moduleType():String
moduleVo | egenskap |
moduleVo:DataModule
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
The instance of DataModule associated with this module instance.
Implementering
public function get moduleVo():DataModule
name | egenskap |
name:String
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Name associated with this ModuleInstance.
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 name():String
newMandatory | egenskap |
newMandatory:Boolean
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
The flag indicating if this module was not mandatory earlier but is now mandatory when considering the latest version of the module instance.
Implementering
public function get newMandatory():Boolean
nonEditableOverride | egenskap |
nonEditableOverride:Boolean
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
The flag indicating if this module was editable earlier but is now non-editable when considering the latest version of the module instance.
Implementering
public function get nonEditableOverride():Boolean
occur | egenskap |
occur:int
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
The occurrence index of this content within its parent container. If there are multiple instances of the module in the container, each module content instance (for those assigned module instances) will get a unique occurrence index. Once assigned, the occurrence should be retained to idenfity instances of a particular module occurrence (e.g. text module tm is assigned twice to the same target/list therefore each occurrence will be identified as tm0 and tm1, respectfully, but note that if tm1 is cloned 4 times, it remains tm1 in the container's selection as instances of the original tm1 occurrence).
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 occur():int
public function set occur(value:int):void
optional | egenskap |
optional: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 this module is optional in its container (based on the assignment, not the selected state).
Implementering
public function get optional():Boolean
parentContainer | egenskap |
parentContainer:IContainerInstance
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Parent container instance containing this ModuleInstance
Implementering
public function get parentContainer():IContainerInstance
preSelected | egenskap |
preSelected: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 this module is pre-selected/removable in its container (based on the assignment, not the selected state).
Implementering
public function get preSelected():Boolean
selected | egenskap |
selected:Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Is the module is selected to be included in 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 selected():Boolean
public function set selected(value:Boolean):void
selectedPosition | egenskap |
selectedPosition:int
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Position of the content in it's container among all the selected contents of the container. -1 if the content is not selected.
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 selectedPosition():int
public function set selectedPosition(value:int):void
skipStyle | egenskap |
skipStyle:Boolean
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Skip Style of the module. If this is a List or Condition, the skipChildren
option would decide
whether or not to skip the child modules or not.
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 skipStyle():Boolean
tooltip | 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
BaseModuleInstance | () | Konstruktor |
public function BaseModuleInstance(remod:ReloadModule = null)
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Constructor.
Parametrarremod:ReloadModule (default = null ) — Reload Module for the case of correspondence reload.
|
moduleDataChangeHandler | () | metod |
protected function moduleDataChangeHandler(event:ModuleDataEvent):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Called when the module content's associated data
object changes.
Note: Do not add moduleDataChangeHandler at instantiation of BaseModuleInstance because moduleData value may not yet been set.
Plug this handler in sub class initialization.
Parametrar
event:ModuleDataEvent — The ModuleDataEvent event dispatched on module data change.
|
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.
Tue Jun 12 2018, 01:40 PM Z