removeDocumentListener

open fun removeDocumentListener(@NonNull documentListener: DocumentListener)

Removes a previously registered DocumentListener. After calling this method the documentListener will stop receiving document events. If the listener has not been added previously, this method will be a no-op. Passingnull is not allowed, and will result in an exception.

Parameters

documentListener

Listener to unregister from document events. May not be null.

See also