Pacote | com.adobe.fiber.styles |
Classe | public class StyleValidator |
Herança | StyleValidator ![]() ![]() ![]() |
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versões de runtime: | Flash Player 9, AIR 1.1 |
mx.validators.Validator
that enables
runtime customization of the function used for validation,
doValidation
. The wrapper also sets the required flag
on the wrapped validator to false as generated value objects perform required validation
outside of the validators.
Validators are used by styles to calculate validation expressions and for
exposing built-in validators such as social security number, credit card
number, email, and so forth.
Propriedades públicas
Propriedades protegidas
Métodos públicos
Método | Definido por | ||
---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra um objeto de ouvinte de evento em um objeto EventDispatcher, de forma que o ouvinte receba a notificação de um evento. | EventDispatcher | |
![]() |
Envia um evento para o fluxo de eventos. | EventDispatcher | |
![]() |
Verifica se o objeto EventDispatcher tem ouvintes registrados para um tipo específico de evento. | EventDispatcher | |
![]() |
Indica se um objeto tem uma propriedade especificada definida. | Object | |
![]() |
Called automatically by the MXML compiler when the Validator
is created using an MXML tag. | Validator | |
![]() |
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro. | Object | |
![]() |
Indica se a propriedade especificada existe e é enumerável. | Object | |
![]() |
Remove um ouvinte do objeto EventDispatcher. | EventDispatcher | |
![]() |
Define a disponibilidade de uma propriedade dinâmica para operações de repetição. | Object | |
![]() |
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade. | Object | |
![]() |
Retorna a representação de string do objeto especificado. | Object | |
![]() |
Performs validation and optionally notifies
the listeners of the result. | Validator | |
![]() | [estático]
Invokes all the validators in the validators Array. | Validator | |
![]() |
Retorna o valor primitivo do objeto especificado. | Object | |
![]() |
Verifica se um ouvinte de evento está registrado nesse objeto EventDispatcher ou em qualquer um de seus ancestrais para o tipo de evento especificado. | EventDispatcher |
Métodos protegidos
Método | Definido por | ||
---|---|---|---|
![]() |
Sets up all of the listeners for the
valid and invalid
events dispatched from the validator. | Validator | |
![]() |
Returns the Object to validate. | Validator | |
![]() |
Returns a ValidationResultEvent from the Array of error results. | Validator | |
![]() |
Returns true if value is not null. | Validator | |
![]() |
Disconnects all of the listeners for the
valid and invalid
events dispatched from the validator. | Validator | |
![]() |
This method is called when a Validator is constructed,
and again whenever the ResourceManager dispatches
a "change" Event to indicate
that the localized resources have changed in some way. | Validator |
Eventos
Constantes protegidas
Wed Jun 13 2018, 11:10 AM Z