包 | com.adobe.icc.editors.model |
类 | public class VariableAssignmentModel |
继承 | VariableAssignmentModel ![]() ![]() |
实现 | IAssignmentModel |
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
相关 API 元素
com.adobe.icc.editors.model.LetterModel.fieldAssignments
属性 | 由以下参数定义 | ||
---|---|---|---|
binding : Object
This property holds the typed object that is bound to the field
that this field assignment is associated with. | VariableAssignmentModel | ||
bindingType : String
The type of binding between the field and its assignment. | VariableAssignmentModel | ||
caption : String
The caption property of the underlying value object. | VariableAssignmentModel | ||
![]() | constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | |
dataModel : ModuleModel
The parent data module of the variable associated with this assignment
| VariableAssignmentModel | ||
editable : Boolean
The editable property of the underlying value object. | VariableAssignmentModel | ||
isEditableEnabled : Boolean [只读]
Specifies whether this assignement model is editable
| VariableAssignmentModel | ||
isOptionalEnabled : Boolean [只读]
Specifies whether this assignement model is optional
| VariableAssignmentModel | ||
letterModel : LetterModel
The domain object of the letter that this assignment belongs to. | VariableAssignmentModel | ||
optional : Boolean
The optional property of the underlying value object. | VariableAssignmentModel | ||
target : *
The field associated with this assignment. | VariableAssignmentModel | ||
toolTip : String
The toolTip property of the underlying value object. | VariableAssignmentModel | ||
type : String [只读]
Specifies the type of this assignment. | VariableAssignmentModel | ||
vo : VariableAssignment
The underlying variable assignment value object
| VariableAssignmentModel |
方法 | 由以下参数定义 | ||
---|---|---|---|
![]() | 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 |
事件 | 摘要 | 由以下参数定义 | ||
---|---|---|---|---|
![]() | [广播事件] Flash Player 或 AIR 应用程序获得操作系统焦点并变为活动状态时将调度此事件。 | EventDispatcher | ||
![]() | [广播事件] Flash Player 或 AIR 应用程序失去操作系统焦点并变为非活动状态时将调度此事件。 | EventDispatcher |
binding | 属性 |
binding:Object
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
This property holds the typed object that is bound to the field that this field assignment is associated with.
The type of this object varies as per the bindingType
. The following
table describes the 'type' of this property for all the possible cases.
Binding Type | The object type of this property value |
---|---|
DDE | com.adobe.dct.transfer.DataDictionaryElement |
CONST | String |
DATAMODULE | com.adobe.icc.editors.model.ModuleModel |
USER | String |
VARIABLE | com.adobe.icc.editors.model.VariableModel |
FIELD | com.adobe.icc.vo.Field |
此属性可用作数据绑定的源。修改此属性后,将调度 propertyChange
事件。
实现
public function get binding():Object
public function set binding(value:Object):void
bindingType | 属性 |
bindingType:String
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The type of binding between the field and its assignment.
此属性可用作数据绑定的源。修改此属性后,将调度 propertyChange
事件。
实现
public function get bindingType():String
public function set bindingType(value:String):void
caption | 属性 |
caption:String
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The caption property of the underlying value object.
此属性可用作数据绑定的源。修改此属性后,将调度 captionChange
事件。
实现
public function get caption():String
public function set caption(value:String):void
dataModel | 属性 |
dataModel:ModuleModel
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The parent data module of the variable associated with this assignment
此属性可用作数据绑定的源。修改此属性后,将调度 propertyChange
事件。
实现
public function get dataModel():ModuleModel
public function set dataModel(value:ModuleModel):void
editable | 属性 |
editable:Boolean
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The editable property of the underlying value object.
此属性可用作数据绑定的源。修改此属性后,将调度 editableChange
事件。
实现
public function get editable():Boolean
public function set editable(value:Boolean):void
isEditableEnabled | 属性 |
isOptionalEnabled | 属性 |
letterModel | 属性 |
letterModel:LetterModel
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The domain object of the letter that this assignment belongs to.
此属性可用作数据绑定的源。修改此属性后,将调度 propertyChange
事件。
实现
public function get letterModel():LetterModel
public function set letterModel(value:LetterModel):void
optional | 属性 |
optional:Boolean
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The optional property of the underlying value object.
此属性可用作数据绑定的源。修改此属性后,将调度 optionalChange
事件。
实现
public function get optional():Boolean
public function set optional(value:Boolean):void
target | 属性 |
target:*
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The field associated with this assignment. This is of the type
com.adobe.icc.vo.Variable
此属性可用作数据绑定的源。修改此属性后,将调度 targetChange
事件。
实现
public function get target():*
public function set target(value:any):void
toolTip | 属性 |
toolTip:String
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The toolTip property of the underlying value object.
此属性可用作数据绑定的源。修改此属性后,将调度 targetChange
事件。
实现
public function get toolTip():String
public function set toolTip(value:String):void
type | 属性 |
vo | 属性 |
vo:VariableAssignment
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The underlying variable assignment value object
实现
public function get vo():VariableAssignment
public function set vo(value:VariableAssignment):void
Tue Jun 12 2018, 11:04 AM Z