All Packages Class Hierarchy This Package Previous Next Index
Class symantec.itools.awt.util.edit.SocialSecurityNumber
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.SocialSecurityNumber
- public class SocialSecurityNumber
- extends SocialIDNumber
Creates a formatted text field for a social security number.
SocialSecurityNumber limits the type of text that can be entered in the text
box to a U.S. Social Security 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
-
SocialSecurityNumber()
- Create social security number text field.
-
setMask(String)
- Takes no action.
SocialSecurityNumber
public SocialSecurityNumber()
- Create social security number text field.
This is a formatted text field
with the following format: 999/-99/-9999
setMask
public void setMask(String s)
- Takes no action. Overrides setMask in FormattedTextField to prevent
alteration of the social security number mask.
- Overrides:
- setMask in class FormattedTextField
All Packages Class Hierarchy This Package Previous Next Index