包 | 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, 11:04 AM Z