com.alee.utils.swing
Class StringDocumentChangeListener

java.lang.Object
  extended by com.alee.utils.swing.DocumentChangeListener
      extended by com.alee.utils.swing.StringDocumentChangeListener
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.DocumentListener

public abstract class StringDocumentChangeListener
extends DocumentChangeListener

DocumentChangeListener extension that informs about string value changes.

Author:
Mikle Garin

Constructor Summary
StringDocumentChangeListener()
           
 
Method Summary
 void documentChanged(javax.swing.event.DocumentEvent e)
          Informs that document has changed in some way.
abstract  void documentChanged(java.lang.String newValue, javax.swing.event.DocumentEvent e)
          Informs that string value contained in the document has changed in some way.
 
Methods inherited from class com.alee.utils.swing.DocumentChangeListener
changedUpdate, getText, insertUpdate, removeUpdate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringDocumentChangeListener

public StringDocumentChangeListener()
Method Detail

documentChanged

public void documentChanged(javax.swing.event.DocumentEvent e)
Informs that document has changed in some way.

Specified by:
documentChanged in class DocumentChangeListener
Parameters:
e - document event

documentChanged

public abstract void documentChanged(java.lang.String newValue,
                                     javax.swing.event.DocumentEvent e)
Informs that string value contained in the document has changed in some way.

Parameters:
newValue - new string value
e - document event