Class com.symantec.itools.awt.MaskedTextField
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.symantec.itools.awt.MaskedTextField

Object
   |
   +----Component
           |
           +----TextComponent
                   |
                   +----TextField
                           |
                           +----com.symantec.itools.awt.MaskedTextField

public class MaskedTextField
extends TextField

Variable Index

 o datetype
 o numbtype
 o texttype
 o timetype

Constructor Index

 o com.symantec.itools.awt.MaskedTextField()
 o com.symantec.itools.awt.MaskedTextField(int)
 o com.symantec.itools.awt.MaskedTextField(String)
 o com.symantec.itools.awt.MaskedTextField(String, int)

Method Index

 o addNotify()
This is a standard AWT method which gets called when this component is added to a container.
 o cut(Clipboard)
 o getDatatype()
 o getMask()
 o getMatchedText(String)
 o getUnmaskedText()
 o gotFocus(FocusEvent)
 o isDataComplete()
 o keyPress(KeyEvent)
 o keyRelease(KeyEvent)
 o keyType(KeyEvent)
 o lostFocus(FocusEvent)
 o paste(Clipboard)
 o processKey(KeyEvent)
 o removeNotify()
This method gets called when this component is removed from a container.
 o setDatatype(int)
 o setMask(String)
 o setMaskedText(String)
Initialize the field
 o setText(String)

Variables

 o datetype
public static final int datetype
 o numbtype
public static final int numbtype
 o texttype
public static final int texttype
 o timetype
public static final int timetype

Constructors

 o MaskedTextField
public MaskedTextField()
 o MaskedTextField
public MaskedTextField(int numberOfColumns)
 o MaskedTextField
public MaskedTextField(String initialText)
 o MaskedTextField
public MaskedTextField(String initialText,
                       int numberOfColumns)

Methods

 o addNotify
public synchronized void addNotify()
This is a standard AWT method which gets called when this component is added to a container. Typically, it is used to create this component's peer. It has been overridden to add listener(s).

Overrides:
addNotify in class TextField
See Also:
removeNotify
 o cut
public synchronized void cut(Clipboard clipboard)
 o getDatatype
public int getDatatype()
 o getMask
public java.lang.String getMask()
 o getMatchedText
protected java.lang.String getMatchedText(String t)
 o getUnmaskedText
public synchronized java.lang.String getUnmaskedText()
 o gotFocus
protected void gotFocus(FocusEvent e)
 o isDataComplete
public boolean isDataComplete()
 o keyPress
protected void keyPress(KeyEvent e)
 o keyRelease
protected void keyRelease(KeyEvent e)
 o keyType
protected void keyType(KeyEvent e)
 o lostFocus
protected void lostFocus(FocusEvent e)
 o paste
public synchronized boolean paste(Clipboard clipboard)
 o processKey
protected void processKey(KeyEvent e)
 o removeNotify
public synchronized void removeNotify()
This method gets called when this component is removed from a container. Typically, it is used to destroy the peers of this component and all its subcomponents. It has been overridden here to remove listener(s).

Overrides:
removeNotify in class TextComponent
See Also:
addNotify
 o setDatatype
public void setDatatype(int type)
 o setMask
public void setMask(String mask)
 o setMaskedText
public synchronized void setMaskedText(String t)
Initialize the field

 o setText
public synchronized void setText(String t)
Overrides:
setText in class TextComponent

All Packages  Class Hierarchy  This Package  Previous  Next  Index