com.adobe.icc.editors.model

# IAssignmentModel - AS3 Asset Composer

Package | com.adobe.icc.editors.model
Interface | public interface IAssignmentModel
Implementors | FieldAssignmentModel, VariableAssignmentModel

Language Version: | ActionScript 3.0

Product Version: | Asset Composer Building Block 9.5\

Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10

Base class for all assignment models

Public Properties

| Property | Defined By
--- | --- | ---
|  | binding : Object This property holds the typed object that is bound to the field that this field assignment is associated with. | IAssignmentModel
|  | bindingType : String The type of binding between the field and its assignment. | IAssignmentModel
|  | caption : String The caption property of the underlying value object. | IAssignmentModel
|  | editable : Boolean The editable property of the underlying value object. | IAssignmentModel
|  | isEditableEnabled : Boolean [read-only] Specifies whether this assignement model is editable | IAssignmentModel
|  | isOptionalEnabled : Boolean [read-only] Specifies whether this assignement model is optional | IAssignmentModel
|  | optional : Boolean The optional property of the underlying value object. | IAssignmentModel
|  | target : * The target associated with this assignment. | IAssignmentModel
|  | toolTip : String The toolTip property of the underlying value object. | IAssignmentModel
|  | type : String [read-only] Specifies the type of this assignment. | IAssignmentModel

Property Detail

### binding

property

`binding:Object`

Language Version: | ActionScript 3.0

Product Version: | Asset Composer Building Block 9.5

Runtime Versions: | 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

This property can be used as the source for data binding. When this property is modified, it dispatches the `bindingChange` event.

Implementation
`public function get binding():Object`
`public function set binding(value:Object):void`

### bindingType

property

`bindingType:String`

Language Version: | ActionScript 3.0

Product Version: | Asset Composer Building Block 9.5

Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10

The type of binding between the field and its assignment.

This property can be used as the source for data binding. When this property is modified, it dispatches the `bindingChange` event.

Implementation
`public function get bindingType():String`
`public function set bindingType(value:String):void`

### caption

property

`caption:String`

Language Version: | ActionScript 3.0

Product Version: | Asset Composer Building Block 9.5

Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10

The caption property of the underlying value object.

Implementation
`public function get caption():String`
`public function set caption(value:String):void`

### editable

property

`editable:Boolean`

Language Version: | ActionScript 3.0

Product Version: | Asset Composer Building Block 9.5

Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10

The editable property of the underlying value object.

This property can be used as the source for data binding. When this property is modified, it dispatches the `editableChange` event.

Implementation
`public function get editable():Boolean`
`public function set editable(value:Boolean):void`

### isEditableEnabled

property

`isEditableEnabled:Boolean` [read-only]

Language Version: | ActionScript 3.0

Product Version: | Asset Composer Building Block 9.5

Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10

Specifies whether this assignement model is editable

Implementation
`public function get isEditableEnabled():Boolean`

### isOptionalEnabled

property

`isOptionalEnabled:Boolean` [read-only]

Language Version: | ActionScript 3.0

Product Version: | Asset Composer Building Block 9.5

Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10

Specifies whether this assignement model is optional

Implementation
`public function get isOptionalEnabled():Boolean`

### optional

property

`optional:Boolean`

Language Version: | ActionScript 3.0

Product Version: | Asset Composer Building Block 9.5

Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10

The optional property of the underlying value object.

Implementation
`public function get optional():Boolean`
`public function set optional(value:Boolean):void`

### target

property

`target:*`

Language Version: | ActionScript 3.0

Product Version: | Asset Composer Building Block 9.5

Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10

The target associated with this assignment. The type is determined by the concrete implementation.

Implementation
`public function get target():*`
`public function set target(value:any):void`

### toolTip

property

`toolTip:String`

Language Version: | ActionScript 3.0

Product Version: | Asset Composer Building Block 9.5

Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10

The toolTip property of the underlying value object.

Implementation
`public function get toolTip():String`
`public function set toolTip(value:String):void`

### type

property

`type:String` [read-only]

Language Version: | ActionScript 3.0

Product Version: | Asset Composer Building Block 9.5

Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10

Specifies the type of this assignment.

Implementation
`public function get type():String`

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00