[.home.]
[.hacks.]
[.java.]

Class TextFilter

java.lang.Object
  |
  +--TextFilter
All Implemented Interfaces:
java.util.EventListener, java.awt.event.TextListener

public class TextFilter
extends java.lang.Object
implements java.awt.event.TextListener

(#)TextFilter.java

Version:
3.2 19-Mar-2004

Textfilter to be used with TextComponents
Author:
Holger Pfaff

Constructor Summary
TextFilter(java.lang.String al, java.lang.String dy, int mx)
          Construct a textfilter
 
Method Summary
 void textValueChanged(java.awt.event.TextEvent e)
          implement textlistener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextFilter

public TextFilter(java.lang.String al,
                  java.lang.String dy,
                  int mx)
Construct a textfilter

Parameters:
al - chars to allow
dy - chars to deny
mx - max. length
Method Detail

textValueChanged

public void textValueChanged(java.awt.event.TextEvent e)
implement textlistener

Specified by:
textValueChanged in interface java.awt.event.TextListener
Parameters:
e - TextEvent

[.home.]
[.hacks.]
[.java.]