| 套件 | com.adobe.icc.dc.domain |
| 類別 | public class FieldInstance |
| 繼承 | FieldInstance EventDispatcher Object |
| 實作 | IDataInstance |
| 語言版本: | ActionScript 3.0 |
| 產品版本: | Asset Composer Building Block 10.0 |
| 執行階段版本: | AIR (unsupported), Flash Player 10.2 |
| 屬性 | 定義自 | ||
|---|---|---|---|
| caption : String [唯讀]
The caption property of the underlying value object. | FieldInstance | ||
![]() | constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | |
| dataType : String [唯讀]
Return the field type
| FieldInstance | ||
| dataTypeValid : Boolean
True if the field's value filled by the user fits in well as per the data type of the field. | FieldInstance | ||
| editable : Boolean [唯讀]
True if the underlying object is editable. | FieldInstance | ||
| formSomExpression : String [唯讀]
The SOM Expression of the target. | FieldInstance | ||
| isNewField : Boolean [唯讀]
[Applicable during reload]
True if this is a new Field, that did not exist when the Letter was submitted. | FieldInstance | ||
| isRemoved : Boolean [唯讀]
[Applicable during reload]
True if this Field has been removed from the latest version of the layout. | FieldInstance | ||
| name : String [唯讀]
The name property of the underlying value object. | FieldInstance | ||
| optional : Boolean [唯讀]
True if the underlying object is optional. | FieldInstance | ||
| order : int [唯讀]
The order of a field represents the order in which it is laid out in the layout or fragment of a letter. | FieldInstance | ||
| subType : String [唯讀]
The sub type of the data element in case when type of data element specified is ENUM. | FieldInstance | ||
| toolTip : String [唯讀]
The toolTip property of the underlying value object. | FieldInstance | ||
| valid : Boolean [唯讀]
Boolean indicating whether the content is valid
| FieldInstance | ||
| value : *
The value of the data element(variable or field) associated with the letter instance. | FieldInstance | ||
| valueSet : IList [唯讀]
The list of value of the data element in case when type of data element specified is ENUM. | FieldInstance | ||
| 方法 | 定義自 | ||
|---|---|---|---|
FieldInstance(value:FieldData)
Constructor. | FieldInstance | ||
![]() | 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. | FieldInstance | ||
![]() |
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | |
![]() |
為迴圈作業設定動態屬性的可用性。 | Object | |
![]() |
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | |
![]() |
會傳回指定之物件的字串形式。 | Object | |
![]() |
會傳回指定之物件的基本值。 | Object | |
![]() |
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher | |
caption | 屬性 |
dataType | 屬性 |
dataTypeValid | 屬性 |
dataTypeValid:Boolean| 語言版本: | ActionScript 3.0 |
| 產品版本: | Asset Composer Building Block 10.0 |
| 執行階段版本: | AIR (unsupported), Flash Player 10.2 |
True if the field's value filled by the user fits in well as per the data type of the field. for e.g dataTypeValid attribute is false when a string is filled in for a Number-type field.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange 事件。
實作
public function get dataTypeValid():Boolean public function set dataTypeValid(value:Boolean):voideditable | 屬性 |
formSomExpression | 屬性 |
isNewField | 屬性 |
isNewField:Boolean [唯讀] | 語言版本: | ActionScript 3.0 |
| 產品版本: | Asset Composer Building Block 10.0 |
| 執行階段版本: | AIR (unsupported), Flash Player 10.2 |
[Applicable during reload] True if this is a new Field, that did not exist when the Letter was submitted.
預設值為 false。
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange 事件。
實作
public function get isNewField():BooleanisRemoved | 屬性 |
isRemoved:Boolean [唯讀] | 語言版本: | ActionScript 3.0 |
| 產品版本: | Asset Composer Building Block 10.0 |
| 執行階段版本: | AIR (unsupported), Flash Player 10.2 |
[Applicable during reload] True if this Field has been removed from the latest version of the layout.
預設值為 false。
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange 事件。
實作
public function get isRemoved():Booleanname | 屬性 |
optional | 屬性 |
order | 屬性 |
subType | 屬性 |
toolTip | 屬性 |
valid | 屬性 |
value | 屬性 |
value:*| 語言版本: | ActionScript 3.0 |
| 產品版本: | Asset Composer Building Block 10.0 |
| 執行階段版本: | AIR (unsupported), Flash Player 10.2 |
The value of the data element(variable or field) associated with the letter instance.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange 事件。
實作
public function get value():* public function set value(value:any):voidvalueSet | 屬性 |
FieldInstance | () | 建構函式 |
public function FieldInstance(value:FieldData)| 語言版本: | ActionScript 3.0 |
| 產品版本: | Asset Composer Building Block 10.0 |
| 執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Constructor.
參數value:FieldData — The FieldData object represented by FieldInstance.
|
refresh | () | 方法 |
public function refresh():void| 語言版本: | ActionScript 3.0 |
| 產品版本: | Asset Composer Building Block 10.0 |
| 執行階段版本: | 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, 03:47 PM Z
隱藏繼承公用屬性
顯示繼承公用屬性