com.partnersoft.prototype
Class IncrementalSearch
java.lang.Object
com.partnersoft.prototype.IncrementalSearch
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener, javax.swing.event.DocumentListener
public class IncrementalSearch
- extends java.lang.Object
- implements javax.swing.event.DocumentListener, java.awt.event.ActionListener
|
Field Summary |
protected javax.swing.text.JTextComponent |
content
|
protected java.util.regex.Matcher |
matcher
|
|
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent evt)
|
void |
changedUpdate(javax.swing.event.DocumentEvent evt)
|
void |
insertUpdate(javax.swing.event.DocumentEvent evt)
|
static void |
main(java.lang.String[] args)
|
static void |
p(java.lang.String str)
|
void |
removeUpdate(javax.swing.event.DocumentEvent evt)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
content
protected javax.swing.text.JTextComponent content
matcher
protected java.util.regex.Matcher matcher
IncrementalSearch
public IncrementalSearch(javax.swing.text.JTextComponent comp)
insertUpdate
public void insertUpdate(javax.swing.event.DocumentEvent evt)
- Specified by:
insertUpdate in interface javax.swing.event.DocumentListener
removeUpdate
public void removeUpdate(javax.swing.event.DocumentEvent evt)
- Specified by:
removeUpdate in interface javax.swing.event.DocumentListener
changedUpdate
public void changedUpdate(javax.swing.event.DocumentEvent evt)
- Specified by:
changedUpdate in interface javax.swing.event.DocumentListener
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent evt)
- Specified by:
actionPerformed in interface java.awt.event.ActionListener
main
public static void main(java.lang.String[] args)
p
public static void p(java.lang.String str)