All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.awt.util.edit.SocialInsuranceNumber

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.TextComponent
                   |
                   +----java.awt.TextField
                           |
                           +----symantec.itools.awt.FormattedTextField
                                   |
                                   +----symantec.itools.awt.util.edit.SocialIDNumber
                                           |
                                           +----symantec.itools.awt.util.edit.SocialInsuranceNumber

public class SocialInsuranceNumber
extends SocialIDNumber
Creates a formatted text field for a social insurance number. SocialInsuranceNumber limits the type of text that can be entered in the text box to a social insurance number (nine-digit number). Text formatting logic is applied to the user input. If the text field already contains text, the user can select the default text and delete or edit it.

See Also:
FormattedTextField

Constructor Index

 o SocialInsuranceNumber()
Create social insurance number text field.

Method Index

 o setMask(String)
Takes no action.

Constructors

 o SocialInsuranceNumber
  public SocialInsuranceNumber()
Create social insurance number text field. This is a formatted text field with the following format: 999/-999/-999

Methods

 o setMask
  public void setMask(String s)
Takes no action. Overrides setMask in FormattedTextField to prevent alteration of the social insurance number mask.

Overrides:
setMask in class FormattedTextField

All Packages  Class Hierarchy  This Package  Previous  Next  Index