SimpleJBDocumentListener

class SimpleJBDocumentListener(val listener: (DocumentEvent) -> Unit) : DocumentListener(source)

A JBDocumentListener that invokes listener on each event.

Parameters

listener

the listener to invoke on any event

Constructors

Link copied to clipboard
constructor(listener: (DocumentEvent) -> Unit)

Properties

Link copied to clipboard
private val listener: (DocumentEvent) -> Unit

Functions

Link copied to clipboard
open override fun documentChanged(event: DocumentEvent)

Invoked after contents have been changed.