Packageorg.flashapi.swing.constants
Classpublic class TextRestrict
InheritanceTextRestrict Inheritance Object

The TextRestrict class contains constants that indicate a set of characters that a user can enter into a text input, or a text field.



Public Constants
 ConstantDefined By
  LOWERCASE : String = a-z
[static] Allows only lowercase characters to be entered into a text input, or a text field.
TextRestrict
  LOWERCASE_SPACE_NUMBERS : String = a-z 0-9
[static] Allows only lowercase characters, spaces and numbers to be entered into a text input, or a text field.
TextRestrict
  NUMBERS : String = 0-9
[static] Allows only numbers to be entered into a text input, or a text field.
TextRestrict
  UPPERCASE : String = A-Z
[static] Allows only uppercase characters to be entered into a text input, or a text field.
TextRestrict
  UPPERCASE_SPACE_NUMBERS : String = A-Z 0-9
[static] Allows only uppercase characters, spaces and numbers to be entered into a text input, or a text field.
TextRestrict
Constant Detail
LOWERCASEConstant
public static const LOWERCASE:String = a-z

Allows only lowercase characters to be entered into a text input, or a text field.

LOWERCASE_SPACE_NUMBERSConstant 
public static const LOWERCASE_SPACE_NUMBERS:String = a-z 0-9

Allows only lowercase characters, spaces and numbers to be entered into a text input, or a text field.

NUMBERSConstant 
public static const NUMBERS:String = 0-9

Allows only numbers to be entered into a text input, or a text field.

UPPERCASEConstant 
public static const UPPERCASE:String = A-Z

Allows only uppercase characters to be entered into a text input, or a text field.

UPPERCASE_SPACE_NUMBERSConstant 
public static const UPPERCASE_SPACE_NUMBERS:String = A-Z 0-9

Allows only uppercase characters, spaces and numbers to be entered into a text input, or a text field.