A support class used for managing UndoableEdit listeners.
A support class used for managing UndoableEdit listeners.
(->undoable-edit-support)
(->undoable-edit-support r)
Constructor.
Constructs an UndoableEditSupport object.
r - an Object - java.lang.Object
Constructor. Constructs an UndoableEditSupport object. r - an Object - `java.lang.Object`
(add-undoable-edit-listener this l)
Registers an UndoableEditListener. The listener is notified whenever an edit occurs which can be undone.
l - an UndoableEditListener object - javax.swing.event.UndoableEditListener
Registers an UndoableEditListener. The listener is notified whenever an edit occurs which can be undone. l - an UndoableEditListener object - `javax.swing.event.UndoableEditListener`
(end-update this)
DEADLOCK WARNING: Calling this method may call undoableEditHappened in all listeners. It is unwise to call this method from one of its listeners.
DEADLOCK WARNING: Calling this method may call undoableEditHappened in all listeners. It is unwise to call this method from one of its listeners.
(get-undoable-edit-listeners this)
Returns an array of all the UndoableEditListeners added to this UndoableEditSupport with addUndoableEditListener().
returns: all of the UndoableEditListeners added or an empty
array if no listeners have been added - javax.swing.event.UndoableEditListener[]
Returns an array of all the UndoableEditListeners added to this UndoableEditSupport with addUndoableEditListener(). returns: all of the UndoableEditListeners added or an empty array if no listeners have been added - `javax.swing.event.UndoableEditListener[]`
(get-update-level this)
Returns the update level value.
returns: an integer representing the update level - int
Returns the update level value. returns: an integer representing the update level - `int`
(post-edit this e)
DEADLOCK WARNING: Calling this method may call undoableEditHappened in all listeners. It is unwise to call this method from one of its listeners.
e - javax.swing.undo.UndoableEdit
DEADLOCK WARNING: Calling this method may call undoableEditHappened in all listeners. It is unwise to call this method from one of its listeners. e - `javax.swing.undo.UndoableEdit`
(remove-undoable-edit-listener this l)
Removes an UndoableEditListener.
l - the UndoableEditListener object to be removed - javax.swing.event.UndoableEditListener
Removes an UndoableEditListener. l - the UndoableEditListener object to be removed - `javax.swing.event.UndoableEditListener`
(to-string this)
Returns a string that displays and identifies this object's properties.
returns: a String representation of this object - java.lang.String
Returns a string that displays and identifies this object's properties. returns: a String representation of this object - `java.lang.String`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close