| Pacote | spark.validators.supportClasses |
| Classe | public class GlobalizationUtils |
| Herança | GlobalizationUtils Object |
| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4.5 |
| Versões de runtime: | Flash Player 10.1, AIR 2.5 |
This class contains the utility routines needed for all Validators. Examples of typical routines are checking for unicode white space, trimming all spaces in a string at the beginning and end.
| Método | Definido por | ||
|---|---|---|---|
![]() |
Indica se um objeto tem uma propriedade especificada definida. | Object | |
[estático]
Return true if a codepoint is a numeric digit. | GlobalizationUtils | ||
[estático]
Return true if a codepoint is a leading surrogate. | GlobalizationUtils | ||
![]() |
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro. | Object | |
[estático]
Return true if a codepoint is a trailing surrogate. | GlobalizationUtils | ||
[estático]
Return true if a codepoint is a white space character. | GlobalizationUtils | ||
![]() |
Indica se a propriedade especificada existe e é enumerável. | Object | |
![]() |
Define a disponibilidade de uma propriedade dinâmica para operações de repetição. | Object | |
[estático]
Convert a surrogate pair to UTF32. | GlobalizationUtils | ||
![]() |
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 | |
[estático]
Removes leading and trailing white space characters. | GlobalizationUtils | ||
![]() |
Retorna o valor primitivo do objeto especificado. | Object | |
isDigit | () | método |
public static function isDigit(ccode:uint):Boolean| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4.5 |
| Versões de runtime: | Flash Player 10.1, AIR 2.5 |
Return true if a codepoint is a numeric digit.
Supported digits are listed in
flash.globalization.NationalDigitsType.
Parâmetros
ccode:uint — input codepoint
|
Boolean — true if a codepoint is a numeric digit.
|
isLeadingSurrogate | () | método |
public static function isLeadingSurrogate(ccode:uint):Boolean| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4.5 |
| Versões de runtime: | Flash Player 10.1, AIR 2.5 |
Return true if a codepoint is a leading surrogate.
Parâmetros
ccode:uint — The input codepoint.
|
Boolean — true if a codepoint is a leading surrogate,
and false if not.
|
isTrailingSurrogate | () | método |
public static function isTrailingSurrogate(ccode:uint):Boolean| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4.5 |
| Versões de runtime: | Flash Player 10.1, AIR 2.5 |
Return true if a codepoint is a trailing surrogate.
Parâmetros
ccode:uint — The input codepoint.
|
Boolean — true if a codepoint is a trailing surrogate,
and false if not.
|
isWhiteSpace | () | método |
public static function isWhiteSpace(ccode:uint):Boolean| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4.5 |
| Versões de runtime: | Flash Player 10.1, AIR 2.5 |
Return true if a codepoint is a white space character.
Supports all unicode white space characters.
The unicode supported white spaces are:
ASCII_SPACE (0x20)
NO_BREAK_SPACE (0xA0)
UNICODE_OGHAM_SPACE_MARK (0x1680)
Unicode spaces 0x2000 - 0x200B
UNICODE_NARROW_NOBREAK_SPACE (0x202F)
UNICODE_MEDIUM_MATHEMATICAL_SPACE (0x205F)
UNICODE_IDEOGRAPHIC_SPACE (0x3000)
UNICODE_ZEROWIDTH_NOBREAK_SPACE (0xFEFF)
Parâmetros
ccode:uint — The input codepoint.
|
Boolean — true if a codepoint is a white space character,
and false if not.
|
surrogateToUTF32 | () | método |
public static function surrogateToUTF32(c0:uint, c1:uint):uint| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4.5 |
| Versões de runtime: | Flash Player 10.1, AIR 2.5 |
Convert a surrogate pair to UTF32.
Parâmetros
c0:uint — High surrogate.
| |
c1:uint — Low surrogate.
|
uint — The UTF32 equivalent.
|
trim | () | método |
public static function trim(input:String):String| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 4.5 |
| Versões de runtime: | Flash Player 10.1, AIR 2.5 |
Removes leading and trailing white space characters.
Parâmetros
input:String — Input string to process.
|
String — String after removing leading and trailing
white space characters.
|
Wed Jun 13 2018, 11:10 AM Z
Ocultar propriedades públicas herdadas
Mostrar propriedades públicas herdadas