ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.icc.editors.model 

ConditionAssignmentModel  - AS3 Asset Composer

Packagecom.adobe.icc.editors.model
Classpublic class ConditionAssignmentModel
InheritanceConditionAssignmentModel Inheritance EventDispatcher Inheritance Object

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 9.5
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

The 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.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
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
Public Methods
 MethodDefined By
  
Constructor.
ConditionAssignmentModel
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
EventDispatcher
  
Creates a copy of ConditionAssignmentModel currently being used
ConditionAssignmentModel
 Inherited
Dispatches an event into the event flow.
EventDispatcher
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
EventDispatcher
 Inherited
Indicates whether an object has a specified property defined.
Object
  
Indicates if this condition assignment is for the default case.
ConditionAssignmentModel
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
EventDispatcher
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
EventDispatcher
Events
 Event Summary Defined By
 Inherited[broadcast event] Dispatched when the Flash Player or AIR application gains operating system focus and becomes active.EventDispatcher
 Inherited[broadcast event] Dispatched when the Flash Player or AIR application operating loses system focus and is becoming inactive.EventDispatcher
Property Detail

expression

property
expression: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 expression associated with this assignment.

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



Implementation
    public function get expression():String
    public function set expression(value:String):void

Related API Elements

target

property 
target:ModuleModel

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 9.5
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

The data module that is the item in the list.

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



Implementation
    public function get target():ModuleModel
    public function set target(value:ModuleModel):void

vo

property 
vo:CDMAssignment

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 9.5
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

The underlying assignment value object.

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



Implementation
    public function get vo():CDMAssignment
    public function set vo(value:CDMAssignment):void
Constructor Detail

ConditionAssignmentModel

()Constructor
public function ConditionAssignmentModel(vo:CDMAssignment = null)

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 9.5
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Constructor.

Parameters
vo:CDMAssignment (default = null) — CDMAssignment object
Method Detail

copy

()method
public function copy():ConditionAssignmentModel

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10.0
Runtime Versions: AIR (unsupported), Flash Player 10.2

Creates a copy of ConditionAssignmentModel currently being used

Returns
ConditionAssignmentModel — a copy of ConditionAssignmentModel

isDefault

()method 
public function isDefault():Boolean

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 9.5
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Indicates if this condition assignment is for the default case.

Returns
Boolean — boolean indicating if this condition assignment is for the default case.