[ Overview ] [ User's Guide ] [ Tutorial ] [ Samples ] [ Requirements ] [ Limitations ] [ API Documentation ]
The following list shows the pre-defined default mask characters of the MaskedTextField:
The user of the MaskedTextField is not limited to the default mask characters, however. The programmer can augment or completely replace the mask characters for each MaskedTextField used. The mask characters are set using the setMaskCharacters() method.
Mask characters are created with the following parameters:
The following table lists the most common uses of the MaskedTextField Bean.
Description | Mask | Direction | Allow Invalid | Shift Text | Move Cursor |
---|---|---|---|---|---|
Phone Number | "(###) ###-####" | InputDirection.RIGHT | false | true | true |
![]() |
|||||
Numeric Entry | "$####.##" | InputDirection.LEFT | false | true | false |
![]() |
Copyright Taligent,
Inc. 1996 - 1997.
Copyright © IBM Corporation 1996 - 1997.
All Rights Reserved