包 | com.adobe.icc.editors.model |
类 | public class TargetAreaAssignmentModel |
继承 | TargetAreaAssignmentModel EventDispatcher Object |
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
相关 API 元素
属性 | 由以下参数定义 | ||
---|---|---|---|
allowFreeText : Boolean
Flag to indicate if this assignment allows adding free text. | TargetAreaAssignmentModel | ||
constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | ||
containerLayoutAssignment : ContainerLayoutAssignmentModel
Container layout assignments within this target area assignment. | TargetAreaAssignmentModel | ||
fragmentName : String [只读]
Fetches the name of the fragment associated with the target area. | TargetAreaAssignmentModel | ||
isTableTargetArea : Boolean
The table name property. | TargetAreaAssignmentModel | ||
letterModel : LetterModel
The domain object of the letter that this assignment belongs to
| TargetAreaAssignmentModel | ||
moduleAssignments : IList
The list of module assignments within this target area assignment. | TargetAreaAssignmentModel | ||
ordered : Boolean
Flag to indicate if this assignment is ordered. | TargetAreaAssignmentModel | ||
path : String
Represents the path of target area relative to base layout. | TargetAreaAssignmentModel | ||
position : int [只读]
Fetches the position of the target area with respect to other target areas. | TargetAreaAssignmentModel | ||
rowName : String
The row name property. | TargetAreaAssignmentModel | ||
tableName : String
The table name property. | TargetAreaAssignmentModel | ||
targetArea : com.adobe.icc.vo:TargetArea
The target area associated with this assignment. | TargetAreaAssignmentModel | ||
vo : com.adobe.icc.vo:TargetAreaAssignment
The underlying target area assignment value object. | TargetAreaAssignmentModel |
方法 | 由以下参数定义 | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。 | EventDispatcher | ||
Adds a module assignment to this target area assignment object. | TargetAreaAssignmentModel | ||
createFromVO(vo:com.adobe.icc.vo:TargetAreaAssignment):com.adobe.icc.editors.model:TargetAreaAssignmentModel [静态]
Constructs the domain object from its value object counterpart. | TargetAreaAssignmentModel | ||
createFromVOAndPath(vo:com.adobe.icc.vo:TargetAreaAssignment, path:String):com.adobe.icc.editors.model:TargetAreaAssignmentModel [静态]
Constructs the domain object from its value object counterpart. | TargetAreaAssignmentModel | ||
将事件调度到事件流中。 | EventDispatcher | ||
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | EventDispatcher | ||
表示对象是否已经定义了指定的属性。 | Object | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
从 EventDispatcher 对象中删除侦听器。 | EventDispatcher | ||
Removes a module assignment from this target area assignment. | TargetAreaAssignmentModel | ||
Adds a container layout assignment to this target area assignment object. | TargetAreaAssignmentModel | ||
设置循环操作动态属性的可用性。 | Object | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回指定对象的字符串表示形式。 | Object | ||
返回指定对象的原始值。 | Object | ||
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | EventDispatcher |
事件 | 摘要 | 由以下参数定义 | ||
---|---|---|---|---|
[广播事件] Flash Player 或 AIR 应用程序获得操作系统焦点并变为活动状态时将调度此事件。 | EventDispatcher | |||
The event dispatched on the container layout assignment change. | TargetAreaAssignmentModel | |||
[广播事件] Flash Player 或 AIR 应用程序失去操作系统焦点并变为非活动状态时将调度此事件。 | EventDispatcher | |||
The event dispatched when the Field's assignment is changed. | TargetAreaAssignmentModel | |||
Dispatched when a module assignment is added to any of the target area assignments. | TargetAreaAssignmentModel | |||
Dispatched when a module assignment is removed from any of the target area assignments. | TargetAreaAssignmentModel |
allowFreeText | 属性 |
allowFreeText:Boolean
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Flag to indicate if this assignment allows adding free text.
此属性可用作数据绑定的源。修改此属性后,将调度 allowFreeTextChange
事件。
实现
public function get allowFreeText():Boolean
public function set allowFreeText(value:Boolean):void
containerLayoutAssignment | 属性 |
containerLayoutAssignment:ContainerLayoutAssignmentModel
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Container layout assignments within this target area assignment.
Container layout assignment must not be set directly. Instead,
the method setContainerLayoutAssignment()
and removeContainerLayoutAssignment()
should be used.
此属性可用作数据绑定的源。修改此属性后,将调度 containerLayoutAssignmentChange
事件。
实现
public function get containerLayoutAssignment():ContainerLayoutAssignmentModel
public function set containerLayoutAssignment(value:ContainerLayoutAssignmentModel):void
fragmentName | 属性 |
isTableTargetArea | 属性 |
isTableTargetArea:Boolean
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
The table name property.
此属性可用作数据绑定的源。修改此属性后,将调度 isTableTargetAreaChange
事件。
实现
public function get isTableTargetArea():Boolean
public function set isTableTargetArea(value:Boolean):void
letterModel | 属性 |
letterModel:LetterModel
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
The domain object of the letter that this assignment belongs to
实现
public function get letterModel():LetterModel
public function set letterModel(value:LetterModel):void
moduleAssignments | 属性 |
moduleAssignments:IList
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The list of module assignments within this target area assignment.
Module assignments must not be added to this list directly. Instead,
the methods addModuleAssignment()
and removeModuleAssignment()
should be used.
此属性可用作数据绑定的源。修改此属性后,将调度 moduleAssignmentsChange
事件。
实现
public function get moduleAssignments():IList
public function set moduleAssignments(value:IList):void
ordered | 属性 |
ordered:Boolean
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Flag to indicate if this assignment is ordered.
此属性可用作数据绑定的源。修改此属性后,将调度 orderChange
事件。
实现
public function get ordered():Boolean
public function set ordered(value:Boolean):void
path | 属性 |
path:String
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Represents the path of target area relative to base layout.
此属性可用作数据绑定的源。修改此属性后,将调度 propertyChange
事件。
实现
public function get path():String
public function set path(value:String):void
position | 属性 |
rowName | 属性 |
tableName | 属性 |
targetArea | 属性 |
targetArea:com.adobe.icc.vo:TargetArea
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The target area associated with this assignment.
实现
public function get targetArea():com.adobe.icc.vo:TargetArea
public function set targetArea(value:com.adobe.icc.vo:TargetArea):void
vo | 属性 |
vo:com.adobe.icc.vo:TargetAreaAssignment
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The underlying target area assignment value object.
实现
public function get vo():com.adobe.icc.vo:TargetAreaAssignment
public function set vo(value:com.adobe.icc.vo:TargetAreaAssignment):void
addModuleAssignment | () | 方法 |
public function addModuleAssignment(value:ModuleAssignmentModel, addAt:int = -1):void
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Adds a module assignment to this target area assignment object.
参数
value:ModuleAssignmentModel — The module assignment object that needs to be added
| |
addAt:int (default = -1 ) — The position the module assignment should be inserted
at in the moduleAssignments list
|
createFromVO | () | 方法 |
public static function createFromVO(vo:com.adobe.icc.vo:TargetAreaAssignment):com.adobe.icc.editors.model:TargetAreaAssignmentModel
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Constructs the domain object from its value object counterpart.
参数
vo:com.adobe.icc.vo:TargetAreaAssignment — The target area assignment value object.
|
com.adobe.icc.editors.model:TargetAreaAssignmentModel — The target area assignment domain object.
|
createFromVOAndPath | () | 方法 |
public static function createFromVOAndPath(vo:com.adobe.icc.vo:TargetAreaAssignment, path:String):com.adobe.icc.editors.model:TargetAreaAssignmentModel
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Constructs the domain object from its value object counterpart.
参数
vo:com.adobe.icc.vo:TargetAreaAssignment — The target area assignment value object.
| |
path:String — path of this target area assignment.
|
com.adobe.icc.editors.model:TargetAreaAssignmentModel — The target area assignment domain object.
|
removeModuleAssignment | () | 方法 |
public function removeModuleAssignment(value:ModuleAssignmentModel):int
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Removes a module assignment from this target area assignment.
参数
value:ModuleAssignmentModel — The module assignment domain object that needs to be removed
|
int — The index at which the removed module assignment resided.
|
setContainerLayoutAssignment | () | 方法 |
public function setContainerLayoutAssignment(value:ContainerLayoutAssignmentModel):void
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10.0 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Adds a container layout assignment to this target area assignment object.
参数
value:ContainerLayoutAssignmentModel — The container layout assignment object that needs to be added
|
containerLayoutAssignmentChange | 事件 |
flash.events.Event
属性 Event.type =
flash.events.Event
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
The event dispatched on the container layout assignment change.
fieldAssignmentsChange | 事件 |
mx.events.DynamicEvent
属性 DynamicEvent.type =
mx.events.DynamicEvent
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
The event dispatched when the Field's assignment is changed.
moduleAssignmentAdd | 事件 |
mx.events.DynamicEvent
属性 DynamicEvent.type =
mx.events.DynamicEvent
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Dispatched when a module assignment is added to any of the target area assignments.
moduleAssignmentRemove | 事件 |
mx.events.DynamicEvent
属性 DynamicEvent.type =
mx.events.DynamicEvent
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Dispatched when a module assignment is removed from any of the target area assignments.
Tue Jun 12 2018, 11:04 AM Z