Liking cljdoc? Tell your friends :D

javax.swing.event.DocumentListener

Interface for an observer to register to receive notifications of changes to a text document.

The default implementation of the Document interface (AbstractDocument) supports asynchronous mutations. If this feature is used (i.e. mutations are made from a thread other than the Swing event thread), the listeners will be notified via the mutating thread. This means that if asynchronous updates are made, the implementation of this interface must be threadsafe!

The DocumentEvent notification is based upon the JavaBeans event model. There is no guarantee about the order of delivery to listeners, and all listeners must be notified prior to making further mutations to the Document. This means implementations of the DocumentListener may not mutate the source of the event (i.e. the associated Document).

Interface for an observer to register to receive notifications
of changes to a text document.

The default implementation of
the Document interface (AbstractDocument) supports asynchronous
mutations.  If this feature is used (i.e. mutations are made
from a thread other than the Swing event thread), the listeners
will be notified via the mutating thread.  This means that
if asynchronous updates are made, the implementation of this
interface must be threadsafe!

The DocumentEvent notification is based upon the JavaBeans
event model.  There is no guarantee about the order of delivery
to listeners, and all listeners must be notified prior to making
further mutations to the Document.  This means implementations
of the DocumentListener may not mutate the source of the event
(i.e. the associated Document).
raw docstring

changed-updateclj

(changed-update this e)

Gives notification that an attribute or set of attributes changed.

e - the document event - javax.swing.event.DocumentEvent

Gives notification that an attribute or set of attributes changed.

e - the document event - `javax.swing.event.DocumentEvent`
raw docstring

insert-updateclj

(insert-update this e)

Gives notification that there was an insert into the document. The range given by the DocumentEvent bounds the freshly inserted region.

e - the document event - javax.swing.event.DocumentEvent

Gives notification that there was an insert into the document.  The
 range given by the DocumentEvent bounds the freshly inserted region.

e - the document event - `javax.swing.event.DocumentEvent`
raw docstring

remove-updateclj

(remove-update this e)

Gives notification that a portion of the document has been removed. The range is given in terms of what the view last saw (that is, before updating sticky positions).

e - the document event - javax.swing.event.DocumentEvent

Gives notification that a portion of the document has been
 removed.  The range is given in terms of what the view last
 saw (that is, before updating sticky positions).

e - the document event - `javax.swing.event.DocumentEvent`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close