套件 | com.adobe.icc.editors.model |
類別 | public class ListAssignmentModel |
繼承 | ListAssignmentModel EventDispatcher Object |
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
ListAssignmentModel
class represents the domain object
for the assignments related to the list data module.
Domain objects can be leveraged to build presentation on top of them. They ease the
process of coding views by abstracting all the service calls and maintaining meaningful
states.
屬性 | 定義自 | ||
---|---|---|---|
compound : Boolean
Only applicable if the 'target' is a List Module. | ListAssignmentModel | ||
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
editable : Boolean
True if the item's value can be edited at runtime. | ListAssignmentModel | ||
ignoreListStyle : Boolean
Only applicable if the 'target' is a List Module. | ListAssignmentModel | ||
indentationLevel : Number
Specifies The indentation level for the target data module. | ListAssignmentModel | ||
optional : Boolean
True if the item is not a mandatory inclusion in the list. | ListAssignmentModel | ||
position : int
The position of List item within the List. | ListAssignmentModel | ||
preSelected : Boolean
True if the item is pre-selected in the list at runtime. | ListAssignmentModel | ||
skipListStyle : Boolean
If true, the numbering style is not applied to the item. | ListAssignmentModel | ||
target : ModuleModel
The data module that is the item in the list. | ListAssignmentModel | ||
vo : LDMAssignment
The underlying assignment value object. | ListAssignmentModel |
方法 | 定義自 | ||
---|---|---|---|
ListAssignmentModel(vo:LDMAssignment = null)
Constructor for creating List Assignment Domain Model
| ListAssignmentModel | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | EventDispatcher | ||
會將事件傳送到事件流程。 | EventDispatcher | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | EventDispatcher | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher |
compound | 屬性 |
compound:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Only applicable if the 'target' is a List Module. If true, the numbering across the modules of the target List module would be compounded (i.e. of the format '1.1., 1.2.,...' or '1.a., 1.b.,...', etc.) When including a (nested) 'Plain/Bulleted' List as a target with the Compound Numbering option checked, the compound numbering style is applied as per the outer List's style. For instance, if the outer List has a style of '1, 2, 3..', the numbering on the nested List would be '1.1., 1.2...'; if the outer List has a style of 'A, B, C..', the numbering on the nested List would be 'A.A.., A.B....'; and so on.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 valueObjectChange
事件。
實作
public function get compound():Boolean
public function set compound(value:Boolean):void
editable | 屬性 |
editable:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
True if the item's value can be edited at runtime.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 valueObjectChange
事件。
實作
public function get editable():Boolean
public function set editable(value:Boolean):void
ignoreListStyle | 屬性 |
ignoreListStyle:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Only applicable if the 'target' is a List Module. If true, the List's own style is ignored, and the numbering would continue from the outer List (as if the modules of the nested list were part of the outer list itself), disregarding any styles specified on the nested List.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 valueObjectChange
事件。
實作
public function get ignoreListStyle():Boolean
public function set ignoreListStyle(value:Boolean):void
indentationLevel | 屬性 |
indentationLevel:Number
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Specifies The indentation level for the target data module.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 valueObjectChange
事件。
實作
public function get indentationLevel():Number
public function set indentationLevel(value:Number):void
optional | 屬性 |
optional:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
True if the item is not a mandatory inclusion in the list.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 valueObjectChange
事件。
實作
public function get optional():Boolean
public function set optional(value:Boolean):void
position | 屬性 |
preSelected | 屬性 |
preSelected:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
True if the item is pre-selected in the list at runtime.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 valueObjectChange
事件。
實作
public function get preSelected():Boolean
public function set preSelected(value:Boolean):void
skipListStyle | 屬性 |
skipListStyle:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
If true, the numbering style is not applied to the item.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 skipListStyleChange
事件。
實作
public function get skipListStyle():Boolean
public function set skipListStyle(value:Boolean):void
target | 屬性 |
target:ModuleModel
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The data module that is the item in the list.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 targetChange
事件。
實作
public function get target():ModuleModel
public function set target(value:ModuleModel):void
vo | 屬性 |
vo:LDMAssignment
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The underlying assignment value object.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 valueObjectChange
事件。
實作
public function get vo():LDMAssignment
public function set vo(value:LDMAssignment):void
ListAssignmentModel | () | 建構函式 |
public function ListAssignmentModel(vo:LDMAssignment = null)
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Constructor for creating List Assignment Domain Model
參數vo:LDMAssignment (default = null ) — LDMAssignment object. If it's null, a new LDMAssignment object is created.
|
Tue Jun 12 2018, 03:47 PM Z