| 패키지 | spark.validators.supportClasses |
| 클래스 | public class GlobalizationUtils |
| 상속 | GlobalizationUtils Object |
| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | Flex 4.5 |
| 런타임 버전: | 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.
공용 속성
공용 메서드
| 메서드 | 정의 주체 | ||
|---|---|---|---|
![]() |
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | |
[정적]
Return true if a codepoint is a numeric digit. | GlobalizationUtils | ||
[정적]
Return true if a codepoint is a leading surrogate. | GlobalizationUtils | ||
![]() |
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | |
[정적]
Return true if a codepoint is a trailing surrogate. | GlobalizationUtils | ||
[정적]
Return true if a codepoint is a white space character. | GlobalizationUtils | ||
![]() |
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | |
![]() |
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | |
[정적]
Convert a surrogate pair to UTF32. | GlobalizationUtils | ||
![]() |
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | |
![]() |
지정된 객체의 문자열 표현을 반환합니다. | Object | |
[정적]
Removes leading and trailing white space characters. | GlobalizationUtils | ||
![]() |
지정된 객체의 프리미티브 값을 반환합니다. | Object | |
메서드 세부 정보
isDigit | () | 메서드 |
public static function isDigit(ccode:uint):Boolean| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | Flex 4.5 |
| 런타임 버전: | Flash Player 10.1, AIR 2.5 |
Return true if a codepoint is a numeric digit.
Supported digits are listed in
flash.globalization.NationalDigitsType.
매개 변수
ccode:uint — input codepoint
|
Boolean — true if a codepoint is a numeric digit.
|
isLeadingSurrogate | () | 메서드 |
isTrailingSurrogate | () | 메서드 |
public static function isTrailingSurrogate(ccode:uint):Boolean| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | Flex 4.5 |
| 런타임 버전: | Flash Player 10.1, AIR 2.5 |
Return true if a codepoint is a trailing surrogate.
매개 변수
ccode:uint — The input codepoint.
|
Boolean — true if a codepoint is a trailing surrogate,
and false if not.
|
isWhiteSpace | () | 메서드 |
public static function isWhiteSpace(ccode:uint):Boolean| 언어 버전: | ActionScript 3.0 |
| 제품 버전: | Flex 4.5 |
| 런타임 버전: | 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)
매개 변수
ccode:uint — The input codepoint.
|
Boolean — true if a codepoint is a white space character,
and false if not.
|
surrogateToUTF32 | () | 메서드 |
trim | () | 메서드 |
Tue Jun 12 2018, 03:17 PM Z
상속되는 공용 속성 숨기기
상속되는 공용 속성 표시