Class com.symantec.itools.swing.JMaskedTextField
All Packages Class Hierarchy This Package Previous Next Index
Class com.symantec.itools.swing.JMaskedTextField
Object
|
+----Component
|
+----Container
|
+----JComponent
|
+----JTextComponent
|
+----JTextField
|
+----com.symantec.itools.swing.JMaskedTextField
- public class JMaskedTextField
- extends JTextField
-
datetype
-
-
numbtype
-
-
texttype
-
-
timetype
-
-
com.symantec.itools.swing.JMaskedTextField()
-
-
com.symantec.itools.swing.JMaskedTextField(int)
-
-
com.symantec.itools.swing.JMaskedTextField(String)
-
-
com.symantec.itools.swing.JMaskedTextField(String, int)
-
-
com.symantec.itools.swing.JMaskedTextField(Document, String, int)
-
-
addNotify()
- This is a standard AWT method which gets called when
this component is added to a container.
-
badLocException()
-
-
cut(Clipboard)
-
-
cut()
-
-
docChange(DocumentEvent)
-
-
docInsert(DocumentEvent)
-
-
docRemove(DocumentEvent)
-
-
getDatatype()
-
-
getMask()
-
-
getMatchedText(String)
-
-
getUnmaskedText()
- Returns current text with mask characters removed.
-
gotFocus(FocusEvent)
-
-
isDataComplete()
-
-
lostFocus(FocusEvent)
-
-
paste(Clipboard)
-
-
paste()
-
-
processComponentKeyEvent(KeyEvent)
-
-
processKey(KeyEvent)
-
-
removeNotify()
- This method gets called when this component is removed from a
container.
-
setDatatype(int)
-
-
setDocument(Document)
-
-
setMask(String)
-
-
setMaskedText(String)
- Initialize the field
-
setText(String)
-
datetype
public static final int datetype
numbtype
public static final int numbtype
texttype
public static final int texttype
timetype
public static final int timetype
JMaskedTextField
public JMaskedTextField()
JMaskedTextField
public JMaskedTextField(int numberOfColumns)
JMaskedTextField
public JMaskedTextField(String initialText)
JMaskedTextField
public JMaskedTextField(String initialText,
int numberOfColumns)
JMaskedTextField
public JMaskedTextField(Document doc,
String initialText,
int numberOfColumns)
addNotify
public synchronized void addNotify()
- This is a standard AWT method which gets called when
this component is added to a container.
- Overrides:
- addNotify in class JComponent
- See Also:
- removeNotify
badLocException
protected void badLocException()
cut
public synchronized void cut(Clipboard clipboard)
cut
public void cut()
- Overrides:
- cut in class JTextComponent
docChange
protected void docChange(DocumentEvent e)
docInsert
protected void docInsert(DocumentEvent e)
docRemove
protected void docRemove(DocumentEvent e)
getDatatype
public int getDatatype()
getMask
public java.lang.String getMask()
getMatchedText
protected java.lang.String getMatchedText(String t)
getUnmaskedText
public synchronized java.lang.String getUnmaskedText()
- Returns current text with mask characters removed.
gotFocus
protected void gotFocus(FocusEvent e)
isDataComplete
public boolean isDataComplete()
lostFocus
protected void lostFocus(FocusEvent e)
paste
public synchronized void paste(Clipboard clipboard)
paste
public void paste()
- Overrides:
- paste in class JTextComponent
processComponentKeyEvent
protected void processComponentKeyEvent(KeyEvent e)
- Overrides:
- processComponentKeyEvent in class JTextComponent
processKey
protected void processKey(KeyEvent e)
removeNotify
public synchronized void removeNotify()
- This method gets called when this component is removed from a
container.
- Overrides:
- removeNotify in class JComponent
- See Also:
- addNotify
setDatatype
public void setDatatype(int type)
setDocument
public void setDocument(Document d)
- Overrides:
- setDocument in class JTextComponent
setMask
public void setMask(String mask)
setMaskedText
public synchronized void setMaskedText(String t)
- Initialize the field
setText
public synchronized void setText(String t)
- Overrides:
- setText in class JTextComponent
All Packages Class Hierarchy This Package Previous Next Index