Package | com.adobe.icc.editors.model |
Class | public class VariableModel |
Inheritance | VariableModel EventDispatcher Object |
Subclasses | LetterVariableModel |
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR 1.0, 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.
Property | Defined By | ||
---|---|---|---|
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
dataType : String
The data-type of the variable. | VariableModel | ||
id : String [read-only]
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 | ||
type : String
The type of the variable. | VariableModel | ||
vo : Variable
The underlying value object corresponding to this variable. | VariableModel |
Method | Defined By | ||
---|---|---|---|
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 | ||
Dispatches an event into the event flow. | EventDispatcher | ||
Compares two Variable domain objects for equality. | VariableModel | ||
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | EventDispatcher | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Removes a listener from the EventDispatcher object. | EventDispatcher | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object | ||
Checks whether an event listener is registered with this EventDispatcher object or any of
its ancestors for the specified event type. | EventDispatcher |
Constant | Defined By | ||
---|---|---|---|
TYPE_DDE : String = "DDE" [static]
The constant corresponding to the data dictionary variables. | VariableModel | ||
TYPE_PLACEHOLDER : String = "PLACEHOLDER" [static]
The constant corresponding to the placeholder variables. | VariableModel |
dataType | property |
id | property |
module | property |
module:ModuleModel
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR 1.0, 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
This property can be used as the source for data binding. When this property is modified, it dispatches the propertyChange
event.
Implementation
public function get module():ModuleModel
public function set module(value:ModuleModel):void
name | property |
protect | property |
protect:Boolean
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
The protect property of the underlying variable value object.
Implementation
public function get protect():Boolean
public function set protect(value:Boolean):void
type | property |
type:String
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR 1.0, 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
Implementation
public function get type():String
public function set type(value:String):void
vo | property |
vo:Variable
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
The underlying value object corresponding to this variable.
Implementation
public function get vo():Variable
public function set vo(value:Variable):void
equals | () | method |
public function equals(obj:VariableModel):Boolean
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Compares two Variable domain objects for equality.
Parameters
obj:VariableModel — The variable domain object this object should be compared with.
|
Boolean — true, if the two domain objects are logically equal.
|
TYPE_DDE | Constant |
public static const TYPE_DDE:String = "DDE"
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
The constant corresponding to the data dictionary variables.
TYPE_PLACEHOLDER | Constant |
public static const TYPE_PLACEHOLDER:String = "PLACEHOLDER"
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
The constant corresponding to the placeholder variables.
Wed Nov 21 2018, 06:34 AM -08:00