All Packages Class Hierarchy This Package Previous Next Index
Class symantec.itools.awt.util.edit.PostalCode
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.TextComponent
|
+----java.awt.TextField
|
+----symantec.itools.awt.FormattedTextField
|
+----symantec.itools.awt.util.edit.AddressCode
|
+----symantec.itools.awt.util.edit.PostalCode
- public class PostalCode
- extends AddressCode
Creates a formatted text field for a postal code.
PostalCode limits the type of text that can be entered in the text
box to a postal code (a mix of 6 letters and numbers).
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
-
PostalCode()
- Create postal code text field.
-
setMask(String)
- Takes no action.
PostalCode
public PostalCode()
- Create postal code text field.
This is a formatted text field
with the following format: U9U/-9U9
setMask
public void setMask(String s)
- Takes no action. Overrides setMask in FormattedTextField to prevent
alteration of the postal code mask.
- Overrides:
- setMask in class FormattedTextField
All Packages Class Hierarchy This Package Previous Next Index