Guida di riferimento di ActionScript® 3.0 per la piattaforma Adobe® Flash®
Home  |  Nascondi elenco pacchetti e classi |  Pacchetti  |  Classi  |  Novità  |  Indice  |  Appendici  |  Perché in inglese?
Filtri: Recupero dati dal server...
Recupero dati dal server...
com.adobe.icc.editors.model 

VariableModel  - AS3 Asset Composer

Pacchettocom.adobe.icc.editors.model
Classepublic class VariableModel
EreditarietàVariableModel Inheritance EventDispatcher Inheritance Object
Sottoclassi LetterVariableModel

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 9.5
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

The domain class for the variables.

Variables are defined by modules as a provision to replace a part of the content with a dynamically fetched value.



Proprietà pubbliche
 ProprietàDefinito da
 Inheritedconstructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto.
Object
  dataType : String
The data-type of the variable
VariableModel
  id : String
[sola lettura] 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
  subType : String
The sub type of the variable.
VariableModel
  type : String
The type of the variable.
VariableModel
  valueSet : IList
The set of values for the enum type variable.
VariableModel
  vo : Variable
The underlying value object corresponding to this variable.
VariableModel
Metodi pubblici
 MetodoDefinito da
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra un oggetto listener di eventi con un oggetto EventDispatcher, in modo che il listener riceva la notifica di un evento.
EventDispatcher
 Inherited
Invia un evento nel flusso di eventi.
EventDispatcher
  
Compares two Variable domain objects for equality.
VariableModel
 Inherited
Verifica se per l'oggetto EventDispatcher sono presenti listener registrati per un tipo specifico di evento.
EventDispatcher
 Inherited
Indica se per un oggetto è definita una proprietà specifica.
Object
 Inherited
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro.
Object
 Inherited
Indica se la proprietà specificata esiste ed è enumerabile.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Rimuove un listener dall'oggetto EventDispatcher.
EventDispatcher
 Inherited
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche.
Object
 Inherited
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate.
Object
 Inherited
Restituisce la rappresentazione in formato stringa dell'oggetto specificato.
Object
 Inherited
Restituisce il valore di base dell'oggetto specificato.
Object
 Inherited
Verifica se un listener di eventi è registrato con questo oggetto EventDispatcher o qualsiasi suo antenato per il tipo di evento specificato.
EventDispatcher
Eventi
 Evento Riepilogo Definito da
 Inherited[evento di trasmissione] Inviato quando Flash Player o l'applicazione AIR ottiene lo stato di attivazione del sistema operativo ed entra nello stato attivo.EventDispatcher
 Inherited[evento di trasmissione] Inviato quando Flash Player o l'applicazione AIR perde l'attivazione del sistema operativo e sta entrando nello stato inattivo.EventDispatcher
Costanti pubbliche
 CostanteDefinito da
  TYPE_DDE : String = "DDE"
[statico] The constant corresponding to the data dictionary variables.
VariableModel
  TYPE_PLACEHOLDER : String = "PLACEHOLDER"
[statico] The constant corresponding to the placeholder variables.
VariableModel
Descrizione delle proprietà

dataType

proprietà
dataType:String

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 9.5
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

The data-type of the variable



Implementazione
    public function get dataType():String
    public function set dataType(value:String):void

id

proprietà 
id:String  [sola lettura]

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 9.5
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

The GUID of the underlying variable value object.



Implementazione
    public function get id():String

module

proprietà 
module:ModuleModel

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 9.5
Versioni runtime: AIR (unsupported), 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

Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .



Implementazione
    public function get module():ModuleModel
    public function set module(value:ModuleModel):void

name

proprietà 
name:String

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 9.5
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

The name of the underlying variable value object.



Implementazione
    public function get name():String
    public function set name(value:String):void

protect

proprietà 
protect:Boolean

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 9.5
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

The protect property of the underlying variable value object.



Implementazione
    public function get protect():Boolean
    public function set protect(value:Boolean):void

subType

proprietà 
subType:String

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 10
Versioni runtime: AIR (unsupported), Flash Player 10.2

The sub type of the variable. The possible values are defined by the class constant SUBTYPE_ENUM



Implementazione
    public function get subType():String
    public function set subType(value:String):void

type

proprietà 
type:String

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 9.5
Versioni runtime: AIR (unsupported), 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



Implementazione
    public function get type():String
    public function set type(value:String):void

valueSet

proprietà 
valueSet:IList

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 10
Versioni runtime: AIR (unsupported), Flash Player 10.2

The set of values for the enum type variable.



Implementazione
    public function get valueSet():IList
    public function set valueSet(value:IList):void

vo

proprietà 
vo:Variable

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 9.5
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

The underlying value object corresponding to this variable.



Implementazione
    public function get vo():Variable
    public function set vo(value:Variable):void
Descrizione dei metodi

equals

()metodo
public function equals(obj:VariableModel):Boolean

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 9.5
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

Compares two Variable domain objects for equality.

Parametri

obj:VariableModel — The variable domain object this object should be compared with.

Restituisce
Boolean — true, if the two domain objects are logically equal.
Descrizione delle costanti

TYPE_DDE

Costante
public static const TYPE_DDE:String = "DDE"

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 9.5
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

The constant corresponding to the data dictionary variables.

TYPE_PLACEHOLDER

Costante 
public static const TYPE_PLACEHOLDER:String = "PLACEHOLDER"

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 9.5
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

The constant corresponding to the placeholder variables.





[ X ]Perché in inglese?
Il contenuto della Guida di riferimento di ActionScript 3.0 appare in inglese

Non tutte le parti della Guida di riferimento di ActionScript 3.0 sono tradotte in tutte le lingue. Quando un elemento del linguaggio non è tradotto, viene riportato in inglese. Ad esempio, la classe ga.controls.HelpBox non è tradotta in nessuna lingua. Pertanto, nella versione italiana della guida di riferimento, la descrizione della classe ga.controls.HelpBox è riportata in inglese.