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.el.operators 

BinaryOperator  - AS3 Asset Composer

Packagecom.adobe.icc.editors.model.el.operators
Classpublic class BinaryOperator
InheritanceBinaryOperator Inheritance Object
Implements IOperator
Subclasses AndOperator, EqualsOperator, OrOperator

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

This is the superclass for all binary operators



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  leftOperand : IOperand
Left operand
BinaryOperator
  operands : Array
Array of Operands associated with this binary operator
BinaryOperator
  rightOperand : IOperand
Right operand
BinaryOperator
Public Methods
 MethodDefined By
  
Constructor.
BinaryOperator
  
apply(... operands):Expression
Applies the operator to the given operands
BinaryOperator
 Inherited
Indicates whether an object has a specified property defined.
Object
 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
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
  
String representation of the operator Concrete subclasses must have toString() defined.
BinaryOperator
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail

leftOperand

property
leftOperand:IOperand

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

Left operand



Implementation
    public function get leftOperand():IOperand
    public function set leftOperand(value:IOperand):void

operands

property 
operands:Array

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

Array of Operands associated with this binary operator



Implementation
    public function get operands():Array
    public function set operands(value:Array):void

rightOperand

property 
rightOperand:IOperand

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

Right operand



Implementation
    public function get rightOperand():IOperand
    public function set rightOperand(value:IOperand):void
Constructor Detail

BinaryOperator

()Constructor
public function BinaryOperator()

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

Constructor.

Method Detail

apply

()method
public function apply(... operands):Expression

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

Applies the operator to the given operands

Parameters

... operands — The operands or items to apply the operator on.

Returns
Expression — Expression generated after applying the operator to given operands

toString

()method 
public function toString():String

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

String representation of the operator Concrete subclasses must have toString() defined.

Returns
String — String representation