| 包 | com.adobe.icc.editors.model |
| 类 | public class VariableModel |
| 继承 | VariableModel EventDispatcher Object |
| 子类 | LetterVariableModel |
| 语言版本: | ActionScript 3.0 |
| 产品版本: | Asset Composer Building Block 9.5 |
| 运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Variables are defined by modules as a provision to replace a part of the content with a dynamically fetched value.
| 属性 | 由以下参数定义 | ||
|---|---|---|---|
![]() | constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | |
| dataType : String
The data-type of the variable
| VariableModel | ||
| id : String [只读]
The GUID of the underlying variable value object. | VariableModel | ||
| module : ModuleModel
The module to which this variables belongs. | VariableModel | ||
| name : String
The name of the underlying variable value object. | VariableModel | ||
| protect : Boolean
The protect property of the underlying variable value object. | VariableModel | ||
| subType : String
The sub type of the variable. | VariableModel | ||
| type : String
The type of the variable. | VariableModel | ||
| valueSet : IList
The set of values for the enum type variable. | VariableModel | ||
| vo : Variable
The underlying value object corresponding to this variable. | VariableModel | ||
| 方法 | 由以下参数定义 | ||
|---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。 | EventDispatcher | |
![]() |
将事件调度到事件流中。 | EventDispatcher | |
Compares two Variable domain objects for equality. | VariableModel | ||
![]() |
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | EventDispatcher | |
![]() |
表示对象是否已经定义了指定的属性。 | Object | |
![]() |
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | |
![]() |
表示指定的属性是否存在、是否可枚举。 | Object | |
![]() |
从 EventDispatcher 对象中删除侦听器。 | EventDispatcher | |
![]() |
设置循环操作动态属性的可用性。 | Object | |
![]() |
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | |
![]() |
返回指定对象的字符串表示形式。 | Object | |
![]() |
返回指定对象的原始值。 | Object | |
![]() |
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | EventDispatcher | |
| 常量 | 由以下参数定义 | ||
|---|---|---|---|
| TYPE_DDE : String = "DDE" [静态]
The constant corresponding to the data dictionary variables. | VariableModel | ||
| TYPE_PLACEHOLDER : String = "PLACEHOLDER" [静态]
The constant corresponding to the placeholder variables. | VariableModel | ||
dataType | 属性 |
id | 属性 |
module | 属性 |
module:ModuleModel| 语言版本: | ActionScript 3.0 |
| 产品版本: | Asset Composer Building Block 9.5 |
| 运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The module to which this variables belongs. The actual value of this property
is a concrete module type e.g. TextModel
此属性可用作数据绑定的源。修改此属性后,将调度 propertyChange 事件。
实现
public function get module():ModuleModel public function set module(value:ModuleModel):voidname | 属性 |
protect | 属性 |
subType | 属性 |
subType:String| 语言版本: | ActionScript 3.0 |
| 产品版本: | Asset Composer Building Block 10 |
| 运行时版本: | AIR (unsupported), Flash Player 10.2 |
The sub type of the variable. The possible values are defined by the
class constant SUBTYPE_ENUM
实现
public function get subType():String public function set subType(value:String):voidtype | 属性 |
type:String| 语言版本: | ActionScript 3.0 |
| 产品版本: | Asset Composer Building Block 9.5 |
| 运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The type of the variable. The possible values are defined by the
class constants TYPE_PLACEHOLDER and TYPE_DDE
实现
public function get type():String public function set type(value:String):voidvalueSet | 属性 |
vo | 属性 |
equals | () | 方法 |
public function equals(obj:VariableModel):Boolean| 语言版本: | ActionScript 3.0 |
| 产品版本: | Asset Composer Building Block 9.5 |
| 运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Compares two Variable domain objects for equality.
参数
obj:VariableModel — The variable domain object this object should be compared with.
|
Boolean — true, if the two domain objects are logically equal.
|
TYPE_DDE | 常量 |
public static const TYPE_DDE:String = "DDE"| 语言版本: | ActionScript 3.0 |
| 产品版本: | Asset Composer Building Block 9.5 |
| 运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The constant corresponding to the data dictionary variables.
TYPE_PLACEHOLDER | 常量 |
public static const TYPE_PLACEHOLDER:String = "PLACEHOLDER"| 语言版本: | ActionScript 3.0 |
| 产品版本: | Asset Composer Building Block 9.5 |
| 运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The constant corresponding to the placeholder variables.
Tue Jun 12 2018, 11:04 AM Z
隐藏继承的公共属性
显示继承的公共属性