Paket | com.adobe.icc.dc.domain |
Klass | public class VariableInstance |
Arv | VariableInstance EventDispatcher Object |
Implementerar | IDataInstance |
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Egenskap | Definieras med | ||
---|---|---|---|
caption : String [skrivskyddad]
The caption property of the underlying value object. | VariableInstance | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
dataType : String [skrivskyddad]
Return the field type
| VariableInstance | ||
dataTypeValid : Boolean
True if the variable's value filled by the user fits in well as per the data type of the variable. | VariableInstance | ||
editable : Boolean [skrivskyddad]
True if the underlying object is editable. | VariableInstance | ||
name : String [skrivskyddad]
The name property of the underlying value object. | VariableInstance | ||
optional : Boolean [skrivskyddad]
True if the underlying object is optional. | VariableInstance | ||
subType : String [skrivskyddad]
The sub type of the data element in case when type of data element specified is ENUM. | VariableInstance | ||
toolTip : String [skrivskyddad]
The toolTip property of the underlying value object. | VariableInstance | ||
valid : Boolean [skrivskyddad]
Boolean indicating whether the content is valid
| VariableInstance | ||
value : *
The value of the data element(variable or field) associated with the letter instance. | VariableInstance | ||
valueSet : IList [skrivskyddad]
The list of value of the data element in case when type of data element specified is ENUM. | VariableInstance |
Metod | Definieras med | ||
---|---|---|---|
VariableInstance(value:VariableData)
Constructor. | VariableInstance | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registrerar ett händelseavlyssnarobjekt för ett EventDispatcher-objekt så att avlyssnaren får meddelanden om händelser. | EventDispatcher | ||
Add the given moduleInstance to this VariableInstance, as a source of the associated Variable. | VariableInstance | ||
The function called when the Variable instance is no longer required.It does the clean up like removing event listeners from the dependencies. | VariableInstance | ||
Skickar en händelse till händelseflödet. | EventDispatcher | ||
Get the List of IModuleInstances for all modules that this VariableInstance's Variable is derived from. | VariableInstance | ||
Returns the instance of Variable associated with this underlying object. | VariableInstance | ||
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse. | EventDispatcher | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Refresh should be called when item is selected. | VariableInstance | ||
Tar bort en avlyssnare från EventDispatcher-objektet. | EventDispatcher | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
The function to prepare the Variable instance for use. | VariableInstance | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Returnerar det angivna objektets primitiva värde. | Object | ||
Kontrollerar om en händelseavlyssnare är registrerad för det här EventDispatcher-objektet eller något av dess överordnade objekt för den angivna händelsetypen. | EventDispatcher |
Metod | Definieras med | ||
---|---|---|---|
variableDataChangeHandler(event:VariableDataEvent):void
Called when the variable's value changes (which could be the result of a linked variable/field). | VariableInstance |
caption | egenskap |
dataType | egenskap |
dataTypeValid | egenskap |
dataTypeValid:Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
True if the variable's value filled by the user fits in well as per the data type of the variable. for e.g dataTypeValid attribute is false when a string is filled in for a Number-type variable.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get dataTypeValid():Boolean
public function set dataTypeValid(value:Boolean):void
editable | egenskap |
name | egenskap |
optional | egenskap |
subType | egenskap |
subType:String
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
The sub type of the data element in case when type of data element specified is ENUM.
Implementering
public function get subType():String
toolTip | egenskap |
valid | egenskap |
valid:Boolean
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Boolean indicating whether the content is valid
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get valid():Boolean
value | egenskap |
value:*
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
The value of the data element(variable or field) associated with the letter instance.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get value():*
public function set value(value:any):void
valueSet | egenskap |
valueSet:IList
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
The list of value of the data element in case when type of data element specified is ENUM.
Implementering
public function get valueSet():IList
VariableInstance | () | Konstruktor |
public function VariableInstance(value:VariableData)
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Constructor.
Parametrarvalue:VariableData — The VariableData object associated with VariableInstance.
|
addModuleInstance | () | metod |
public function addModuleInstance(moduleInstance:IModuleInstance):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Add the given moduleInstance
to this VariableInstance, as a source of the associated Variable.
Parametrar
moduleInstance:IModuleInstance — The IModuleInstance object to be added to this VariableInstance.
|
destroy | () | metod |
public function destroy():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
The function called when the Variable instance is no longer required.It does the clean up like removing event listeners from the dependencies.
getModuleInstance | () | metod |
public function getModuleInstance():IList
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Get the List of IModuleInstances for all modules that this VariableInstance's Variable is derived from.
ReturnerarIList —
|
getVariable | () | metod |
refresh | () | metod |
public function refresh():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Refresh should be called when item is selected. This is useful in case when the the item is deselcted. In that case, if there is any change in variable value/ field value etc., those changes may not be propagated to module.
setup | () | metod |
public function setup():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
The function to prepare the Variable instance for use.
variableDataChangeHandler | () | metod |
protected function variableDataChangeHandler(event:VariableDataEvent):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10.0 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Called when the variable's value changes (which could be the result of a linked variable/field).
Parametrar
event:VariableDataEvent — The VariableDataEvent event dispatched on variable data change.
|
Tue Jun 12 2018, 01:40 PM Z