套件 | com.adobe.icc.dc.domain |
類別 | public class TextModuleInstance |
繼承 | TextModuleInstance BaseModuleInstance EventDispatcher Object |
語言版本: | 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 | ||
contentVariables : IList [唯讀]
The set of active variables for the module. | BaseModuleInstance | ||
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 | ||
freeText : Boolean [唯讀]
Checks if given module is added as free form text
| TextModuleInstance | ||
hasConflict : Boolean [唯讀]
The flag indicating if this module is conflicting with its latest version. | BaseModuleInstance | ||
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
| TextModuleInstance | ||
moduleVo : DataModule [覆寫] [唯讀]
The instance of DataModule associated with this module instance. | TextModuleInstance | ||
name : String [唯讀]
Name associated with this ModuleInstance. | BaseModuleInstance | ||
newLine : Boolean [唯讀]
Checks if given module is newline module
| TextModuleInstance | ||
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 | ||
optional : Boolean [唯讀]
True if this module is optional in its container (based on the assignment, not the selected state). | BaseModuleInstance | ||
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 | ||
rawContent : String [唯讀]
he raw content on a text module. | TextModuleInstance | ||
rawContentFormat : String [唯讀]
Returns the module's raw content type. | TextModuleInstance | ||
resolvedContent : String [唯讀]
The module's resolved content value. | TextModuleInstance | ||
resolvedContentFormat : String [唯讀]
Returns the module's resolved content type. | TextModuleInstance | ||
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 |
方法 | 定義自 | ||
---|---|---|---|
TextModuleInstance(moduleData:ModuleData, vParentContainer:IContainerInstance = null, remod:ReloadModule = null)
Constructor
| TextModuleInstance | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | EventDispatcher | ||
會將事件傳送到事件流程。 | EventDispatcher | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | EventDispatcher | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
Refresh should be called when item is selected. | BaseModuleInstance | ||
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher |
freeText | 屬性 |
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 元素
moduleVo | 屬性 |
moduleVo:DataModule
[唯讀] [覆寫] 語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10.0 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
The instance of DataModule associated with this module instance.
實作
override public function get moduleVo():DataModule
newLine | 屬性 |
rawContent | 屬性 |
rawContentFormat | 屬性 |
resolvedContent | 屬性 |
resolvedContent:String
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10.0 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
The module's resolved content value. Note that the module's isValid
property should always be considered along with
its value to properly interpret the meaning of the value, empty or not. It's possible to be in a state where the content isn't valid
but there's still a resolve value (e.g. a mandatory variable doesn't have a value so its token is still in the content; therefore
the module's content is invalid but it still has a value).
To get/set the module's raw content, use the rawContent
property.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get resolvedContent():String
相關 API 元素
resolvedContentFormat | 屬性 |
TextModuleInstance | () | 建構函式 |
public function TextModuleInstance(moduleData:ModuleData, vParentContainer:IContainerInstance = null, remod:ReloadModule = null)
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10.0 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Constructor
參數moduleData:ModuleData — ModuleData object represented by this instance.
| |
vParentContainer:IContainerInstance (default = null ) — Container of the Text Module that can be a list or a target area.
| |
remod:ReloadModule (default = null ) — Reload Module for the case of correspondence reload.
|
Tue Jun 12 2018, 03:47 PM Z