Referência do ActionScript® 3.0 para Adobe® Flash® Platform
Início  |  Ocultar listas de Pacotes e Classes |  Pacotes  |  Classes  |  Novidades  |  Índice  |  Apêndices  |  Por que inglês?
Filtros: Recuperando dados do servidor...
Recuperando dados do servidor...
com.adobe.icc.editors.events 

AssetValidationEvent  - AS3 Asset Composer

Pacotecom.adobe.icc.editors.events
Classepublic class AssetValidationEvent
HerançaAssetValidationEvent Inheritance Event Inheritance Object

Versão da linguagem: ActionScript 3.0
Versão de produto: Asset Composer Building Block 9.5
Versões de runtime: AIR (unsupported), Flash Player 10.2

The AssetValidationEvent class represents the event object passed to the event listener for domain api invokers.

This event is dispatched by various asset domain classes when the validate() method has been invoked on them. This event encapsulates the result of the client side validations performed on the domain object the validate() api was called for.

Elementos da API relacionados

com.adobe.icc.editors.model.ModuleModel.validate()


Propriedades públicas
 PropriedadeDefinido por
 Inheritedbubbles : Boolean
[somente leitura] Indica se um evento é do tipo bubbling.
Event
 Inheritedcancelable : Boolean
[somente leitura] Indica se o comportamento associado ao evento pode ser impedido.
Event
 Inheritedconstructor : Object
Uma referência ao objeto de classe ou à função de construtor de uma determinada ocorrência de objeto.
Object
 InheritedcurrentTarget : Object
[somente leitura] O objeto que está processando ativamente o objeto Event com um ouvinte de evento.
Event
  data : *
The data is an arbitrary value associated with the type of fault and varies from case to case.
AssetValidationEvent
 InheritedeventPhase : uint
[somente leitura] A fase atual no fluxo de eventos.
Event
  faultType : int
The faultType corresponds to one of the constants defined in the class AssetValidationFaultType.
AssetValidationEvent
 Inheritedtarget : Object
[somente leitura] O destino de evento.
Event
 Inheritedtype : String
[somente leitura] O tipo de evento.
Event
Métodos públicos
 MétodoDefinido por
  
AssetValidationEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor.
AssetValidationEvent
 Inherited
Duplica uma ocorrência de uma subclasse Event.
Event
 Inherited
formatToString(className:String, ... arguments):String
Uma função de utilitário para implementar o método toString() em classes ActionScript 3.0 Event personalizadas.
Event
 Inherited
Indica se um objeto tem uma propriedade especificada definida.
Object
 Inherited
Verifica se o método preventDefault() foi chamado no evento.
Event
 Inherited
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro.
Object
 Inherited
Cancela um comportamento padrão de evento se esse comportamento puder ser cancelado.
Event
 Inherited
Indica se a propriedade especificada existe e é enumerável.
Object
 Inherited
Define a disponibilidade de uma propriedade dinâmica para operações de repetição.
Object
 Inherited
Impede o processamento de qualquer ouvinte de evento no nó atual e qualquer nó subsequente no fluxo de eventos.
Event
 Inherited
Impede o processamento de algum ouvinte de evento em nós subsequentes ao nó atual no fluxo de eventos.
Event
 Inherited
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade.
Object
 Inherited
Retorna uma string que contém todas as propriedades do objeto Event.
Event
 Inherited
Retorna o valor primitivo do objeto especificado.
Object
Constantes públicas
 ConstanteDefinido por
  INVALID : String = "invalid"
[estático] The AssetValidationEvent.INVALID constant defines the value of the type property of the event object for a invalid event.
AssetValidationEvent
  VALID : String = "valid"
[estático] The AssetValidationEvent.VALID constant defines the value of the type property of the event object for a valid event.
AssetValidationEvent
Detalhes da propriedade

data

propriedade
public var data:*

Versão da linguagem: ActionScript 3.0
Versão de produto: Asset Composer Building Block 9.5
Versões de runtime: AIR (unsupported), Flash Player 10.2

The data is an arbitrary value associated with the type of fault and varies from case to case. The following table illustrates the association between fault codes and the related data:

Fault CodeData
AssetValidationFaultType.INCOMPATIBLE_DATADICTIONARYArray of assets dependent upon the target asset
This property is applicable for the invalid event type. For the case of valid event type, this property must be ignored.

Elementos da API relacionados

faultType

propriedade 
public var faultType:int

Versão da linguagem: ActionScript 3.0
Versão de produto: Asset Composer Building Block 9.5
Versões de runtime: AIR (unsupported), Flash Player 10.2

The faultType corresponds to one of the constants defined in the class AssetValidationFaultType.

This property is applicable for the invalid event type. For the case of valid event type, this property must be ignored.

Elementos da API relacionados

Detalhes do construtor

AssetValidationEvent

()Construtor
public function AssetValidationEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

Versão da linguagem: ActionScript 3.0
Versão de produto: Asset Composer Building Block 9.5
Versões de runtime: AIR (unsupported), Flash Player 10.2

Constructor.

Parâmetros
type:String — The event type; indicates the action that caused the event.
 
bubbles:Boolean (default = false) — Specifies whether the event can bubble up the display list hierarchy.
 
cancelable:Boolean (default = false) — Specifies whether the behavior associated with the event can be prevented.
Detalhes da constante

INVALID

Constante
public static const INVALID:String = "invalid"

Versão da linguagem: ActionScript 3.0
Versão de produto: Asset Composer Building Block 9.5
Versões de runtime: AIR (unsupported), Flash Player 10.2

The AssetValidationEvent.INVALID constant defines the value of the type property of the event object for a invalid event.

The invalid event is dispatched when the validations executed on the domain object fail for some reason. The validations are run implicitly when the domain object is saved or explicitly when the validate() method is invoked on a domain object like TextModel, ListModel etc.

When this event is dispatched, the properties faultType and data contain meaningful values and can be read to find out the reason for failure and any data associated.

VALID

Constante 
public static const VALID:String = "valid"

Versão da linguagem: ActionScript 3.0
Versão de produto: Asset Composer Building Block 9.5
Versões de runtime: AIR (unsupported), Flash Player 10.2

The AssetValidationEvent.VALID constant defines the value of the type property of the event object for a valid event.

The valid event is dispatched when the validations executed on the domain object are successful. The validations are run implicitly when the domain object is saved or explicitly when the validate() method is invoked on a domain object like TextModel, ListModel etc.





[ X ]Por que inglês?
O conteúdo na Referência do ActionScript 3.0 aparece em inglês

Nem todas as partes da Referência do ActionScript 3.0 estão traduzidas em todos os idiomas. Quando um elemento de um idioma não está traduzido, ele é exibido em inglês. Por exemplo, a classe ga.controls.HelpBox não está traduzida em nenhum idioma. Por isso, na versão da referência em português do Brasil, a classe ga.controls.HelpBox é exibida em inglês.