包 | com.adobe.icc.editors.model |
类 | public class ConditionAssignmentModel |
继承 | ConditionAssignmentModel EventDispatcher Object |
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
ConditionAssignmentModel
class represents the domain object
for the assignments related to the condition 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.
公共属性
属性 | 由以下参数定义 | ||
---|---|---|---|
constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | ||
expression : String
The expression associated with this assignment. | ConditionAssignmentModel | ||
target : ModuleModel
The data module that is the item in the list. | ConditionAssignmentModel | ||
vo : CDMAssignment
The underlying assignment value object. | ConditionAssignmentModel |
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
ConditionAssignmentModel(vo:CDMAssignment = null)
Constructor. | ConditionAssignmentModel | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。 | EventDispatcher | ||
Creates a copy of ConditionAssignmentModel currently being used
| ConditionAssignmentModel | ||
将事件调度到事件流中。 | EventDispatcher | ||
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | EventDispatcher | ||
表示对象是否已经定义了指定的属性。 | Object | ||
Indicates if this condition assignment is for the default case. | ConditionAssignmentModel | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
从 EventDispatcher 对象中删除侦听器。 | EventDispatcher | ||
设置循环操作动态属性的可用性。 | Object | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回指定对象的字符串表示形式。 | Object | ||
返回指定对象的原始值。 | Object | ||
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | EventDispatcher |
属性详细信息
expression | 属性 |
expression:String
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The expression associated with this assignment.
此属性可用作数据绑定的源。修改此属性后,将调度 valueObjectChange
事件。
实现
public function get expression():String
public function set expression(value:String):void
相关 API 元素
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.
此属性可用作数据绑定的源。修改此属性后,将调度 valueObjectChange
事件。
实现
public function get target():ModuleModel
public function set target(value:ModuleModel):void
vo | 属性 |
vo:CDMAssignment
语言版本: | 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():CDMAssignment
public function set vo(value:CDMAssignment):void
构造函数详细信息
ConditionAssignmentModel | () | 构造函数 |
public function ConditionAssignmentModel(vo:CDMAssignment = null)
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Constructor.
参数vo:CDMAssignment (default = null ) — CDMAssignment object
|
方法详细信息
copy | () | 方法 |
public function copy():ConditionAssignmentModel
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Creates a copy of ConditionAssignmentModel currently being used
返回ConditionAssignmentModel — a copy of ConditionAssignmentModel
|
isDefault | () | 方法 |
public function isDefault():Boolean
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Indicates if this condition assignment is for the default case.
返回Boolean — boolean indicating if this condition assignment is for the default case.
|
Tue Jun 12 2018, 11:04 AM Z