Package | jp.co.fujitsu.reffi.client.flex.validator |
Class | public class CharacterTypeValidator |
Inheritance | CharacterTypeValidator ![]() |
[概 要]
入力文字の文字種をチェックするクラスです.[詳 細]
呼び出し元で指定された入力チェック条件に従い、入力文字のチェック処理を実施します。[備 考]
Copyright (c) 2008-2009 FUJITSU Japan All rights reserved.
Property | Defined by | ||
---|---|---|---|
type_ascii_alphabet : Boolean [概 要] 半角英字の入力可否を設定します. | CharacterTypeValidator | ||
type_ascii_number : Boolean [概 要] 数字の入力可否を設定します. | CharacterTypeValidator | ||
type_ascii_other : Boolean [概 要] 半角記号の入力可否を設定します. | CharacterTypeValidator | ||
type_ascii_space : Boolean [概 要] 半角スペースの入力可否を設定します. | CharacterTypeValidator | ||
type_wide : Boolean [概 要] 全角文字の入力可否を設定します. | CharacterTypeValidator |
Method | Defined by | ||
---|---|---|---|
doValidation(value:Object):Array
[概 要] 入力文字のチェック結果を返却します. | CharacterTypeValidator |
type_ascii_alphabet | property |
type_ascii_alphabet:Boolean
[read-write]
[概 要]
半角英字の入力可否を設定します.[詳 細]
半角英字(a-z,A-Z)の入力可否を表します。[備 考]
The default value is true(入力可)
.
public function get type_ascii_alphabet():Boolean
public function set type_ascii_alphabet(value:Boolean):void
type_ascii_number | property |
type_ascii_number:Boolean
[read-write]
[概 要]
数字の入力可否を設定します.[詳 細]
半角数字(0-9)の入力可否を表します。[備 考]
The default value is true(入力可)
.
public function get type_ascii_number():Boolean
public function set type_ascii_number(value:Boolean):void
type_ascii_other | property |
type_ascii_other:Boolean
[read-write]
[概 要]
半角記号の入力可否を設定します.[詳 細]
半角記号(!"#$%&'(),-./:;<=>?The default value is true(入力可)
.
public function get type_ascii_other():Boolean
public function set type_ascii_other(value:Boolean):void
type_ascii_space | property |
type_ascii_space:Boolean
[read-write]
[概 要]
半角スペースの入力可否を設定します.[詳 細]
半角スペース(0x20)の入力可否を表します。[備 考]
The default value is true(入力可)
.
public function get type_ascii_space():Boolean
public function set type_ascii_space(value:Boolean):void
type_wide | property |
type_wide:Boolean
[read-write]
[概 要]
全角文字の入力可否を設定します.[詳 細]
全角文字(JIS非漢字、JIS第一水準漢字、JIS第二水準漢字)の入力可否を表します。[備 考]
The default value is true(入力可)
.
public function get type_wide():Boolean
public function set type_wide(value:Boolean):void
doValidation | () | method |
protected override function doValidation(value:Object):Array
[概 要]
入力文字のチェック結果を返却します.[詳 細]
入力文字をチェックし、指定文字以外の入力文字が存在した場合は、[備 考]
パラメータvalue:Object — 入力文字列
|
Array — チェック結果配列
|