Adds a <code>TextChangeListener</code> listening for
<code>TextChangingEvent</code> and <code>TextChangedEvent</code>. A
<code>TextChangingEvent</code> is sent before changes to the text occur.
A <code>TextChangedEvent</code> is sent after changes to the text
occurred.
<p>
@param listener the listener
@exception IllegalArgumentException <ul>
<li>ERROR_NULL_ARGUMENT when listener is null</li>
</ul>
Adds a <code>TextChangeListener</code> listening for <code>TextChangingEvent</code> and <code>TextChangedEvent</code>. A <code>TextChangingEvent</code> is sent before changes to the text occur. A <code>TextChangedEvent</code> is sent after changes to the text occurred. <p>
@param listener the listener @exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT when listener is null</li> </ul>