套件 | com.adobe.icc.dc.domain |
類別 | public class ConditionModuleInstance |
繼承 | ConditionModuleInstance BaseModuleInstance EventDispatcher Object |
實作 | IContainerInstance |
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10.0 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
屬性 | 定義自 | ||
---|---|---|---|
assignedPosition : int [唯讀]
The assigned position of the module within its container. | BaseModuleInstance | ||
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
contents : IList [唯讀]
List of the contents associated with this Container instance. | ConditionModuleInstance | ||
contentVariables : IList [唯讀]
The set of active variables for the module. | BaseModuleInstance | ||
controlVariables : IList [唯讀]
Bindable/Read-only. | ConditionModuleInstance | ||
description : String [唯讀]
Description associated with this ModuleInstance. | BaseModuleInstance | ||
editable : Boolean [唯讀]
True if this module is editable in its container (based on the assignment). | BaseModuleInstance | ||
extra : Boolean [唯讀]
The flag indicating if this module was not assigned while creating the letter. | BaseModuleInstance | ||
hasConflict : Boolean [唯讀]
The flag indicating if this module is conflicting with its latest version. | BaseModuleInstance | ||
hasContentRemoved : Boolean [唯讀]
True if the Condition has one or more content removed from it, than what was originall assigned. | ConditionModuleInstance | ||
id : String [唯讀]
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 [覆寫] [唯讀]
Module type represented by this ModuleInstance: Text,Image,List,Condition
| ConditionModuleInstance | ||
moduleVo : DataModule [唯讀]
The instance of DataModule associated with this module instance. | BaseModuleInstance | ||
name : String [唯讀]
Name associated with this ModuleInstance. | BaseModuleInstance | ||
newMandatory : Boolean [唯讀]
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 [唯讀]
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 | ||
open : Boolean [唯讀]
True if the container is open to extra content; false if it only allows content that was explicitly assigned to it in the letter. | ConditionModuleInstance | ||
optional : Boolean [唯讀]
True if this module is optional in its container (based on the assignment, not the selected state). | BaseModuleInstance | ||
ordered : Boolean [唯讀]
True if the container's contents order is fixed; false if its contents can be re-ordered. | ConditionModuleInstance | ||
parentContainer : IContainerInstance [唯讀]
Parent container instance containing this ModuleInstance
| BaseModuleInstance | ||
preSelected : Boolean [唯讀]
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 [唯讀]
Skip Style of the module. | BaseModuleInstance | ||
tooltip : String [唯讀]
Tooltip associated with this ModuleInstance. | BaseModuleInstance | ||
valid : Boolean [唯讀]
Boolean indicating whether the content is valid
| BaseModuleInstance |
方法 | 定義自 | ||
---|---|---|---|
ConditionModuleInstance(vCondData:ConditionModuleData, vParentContainer:IContainerInstance = null, remod:ReloadModule = null)
Constructor. | ConditionModuleInstance | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | EventDispatcher | ||
會將事件傳送到事件流程。 | EventDispatcher | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | EventDispatcher | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
Moves the specified item within the list's content one position in the specified direction. | ConditionModuleInstance | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
Refresh should be called when item is selected. | BaseModuleInstance | ||
Removes the specified item from the list's collection if the item is found in the collection and is non mandatory
| ConditionModuleInstance | ||
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
[覆寫]
| ConditionModuleInstance | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher |
方法 | 定義自 | ||
---|---|---|---|
moduleDataChangeHandler(event:ModuleDataEvent):void [覆寫]
Called when the module content's associated data object changes. | ConditionModuleInstance |
contents | 屬性 |
controlVariables | 屬性 |
hasContentRemoved | 屬性 |
hasContentRemoved:Boolean
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10.0 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
True if the Condition has one or more content removed from it, than what was originall assigned. [Relevant when reloading]
實作
public function get hasContentRemoved():Boolean
moduleType | 屬性 |
moduleType:String
[唯讀] [覆寫] 語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10.0 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Module type represented by this ModuleInstance: Text,Image,List,Condition
實作
override public function get moduleType():String
相關 API 元素
open | 屬性 |
ordered | 屬性 |
ConditionModuleInstance | () | 建構函式 |
public function ConditionModuleInstance(vCondData:ConditionModuleData, vParentContainer:IContainerInstance = null, remod:ReloadModule = null)
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10.0 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Constructor.
參數vCondData:ConditionModuleData — ConditionModuleData object represented by this instance.
| |
vParentContainer:IContainerInstance (default = null ) — Container of the Condition Module that can be a list or a target area.
| |
remod:ReloadModule (default = null ) — Reload Module for the case of correspondence reload.
|
moduleDataChangeHandler | () | 方法 |
override protected function moduleDataChangeHandler(event:ModuleDataEvent):void
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10.0 |
執行階段版本: | 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.
參數
event:ModuleDataEvent — The ModuleDataEvent event dispatched on module data change.
|
moveContent | () | 方法 |
public function moveContent(sourceModule:IModuleInstance, moveUp:Boolean):void
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10.0 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Moves the specified item within the list's content one position in the specified direction.
參數
sourceModule:IModuleInstance — The item to move.
| |
moveUp:Boolean — True to move up, false to move down.
|
removeContent | () | 方法 |
public function removeContent(sourceModule:IModuleInstance):void
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10.0 |
執行階段版本: | 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
參數
sourceModule:IModuleInstance — The item to be removed.
|
setSkipStyle | () | 方法 |
Tue Jun 12 2018, 03:47 PM Z