public abstract class DocumentListenerAdapter
Adapter for DocumentListener implementations. Override the update() method to define what should happen whenever the Document is updated.
Constructor and description |
---|
DocumentListenerAdapter
() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
changedUpdate(javax.swing.event.DocumentEvent e) |
|
java.lang.String |
getText(javax.swing.text.Document document) |
|
void |
insertUpdate(javax.swing.event.DocumentEvent e) |
|
void |
removeUpdate(javax.swing.event.DocumentEvent e) |
|
void |
update(javax.swing.text.Document document) |
|
static DocumentListenerAdapter |
withUpdateClosure(groovy.lang.Closure closure) Convenience factory method to make this class easier to use from Groovy. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Convenience factory method to make this class easier to use from Groovy. The closure passed as a parameter will be called with a String containing the text of the document whenever the document is updated.
closure
- the closure containing the callback/listener codeReadyAPI functional (soapui) SDK 3.30.0