Liking cljdoc? Tell your friends :D

javax.swing.undo.CompoundEdit

A concrete subclass of AbstractUndoableEdit, used to assemble little UndoableEdits into great big ones.

A concrete subclass of AbstractUndoableEdit, used to assemble little
UndoableEdits into great big ones.
raw docstring

->compound-editclj

(->compound-edit)

Constructor.

Constructor.
raw docstring

add-editclj

(add-edit this an-edit)

If this edit is inProgress, accepts anEdit and returns true.

The last edit added to this CompoundEdit is given a chance to addEdit(anEdit). If it refuses (returns false), anEdit is given a chance to replaceEdit the last edit. If anEdit returns false here, it is added to edits.

an-edit - the edit to be added - javax.swing.undo.UndoableEdit

returns: true if the edit is inProgress; otherwise returns false - boolean

If this edit is inProgress,
 accepts anEdit and returns true.

 The last edit added to this CompoundEdit
 is given a chance to addEdit(anEdit).
 If it refuses (returns false), anEdit is
 given a chance to replaceEdit the last edit.
 If anEdit returns false here,
 it is added to edits.

an-edit - the edit to be added - `javax.swing.undo.UndoableEdit`

returns: true if the edit is inProgress;
  otherwise returns false - `boolean`
raw docstring

can-redo?clj

(can-redo? this)

Returns false if isInProgress or if super returns false.

returns: true if this edit is alive and hasBeenDone is false - boolean

Returns false if isInProgress or if super
 returns false.

returns: true if this edit is alive
   and hasBeenDone is false - `boolean`
raw docstring

can-undo?clj

(can-undo? this)

Returns false if isInProgress or if super returns false.

returns: true if this edit is alive and hasBeenDone is true - boolean

Returns false if isInProgress or if super
 returns false.

returns: true if this edit is alive
    and hasBeenDone is true - `boolean`
raw docstring

dieclj

(die this)

Sends die to each subedit, in the reverse of the order that they were added.

Sends die to each subedit,
in the reverse of the order that they were added.
raw docstring

endclj

(end this)

Sets inProgress to false.

Sets inProgress to false.
raw docstring

get-presentation-nameclj

(get-presentation-name this)

Returns getPresentationName from the last UndoableEdit added to edits. If edits is empty, calls super.

returns: the empty string "" - java.lang.String

Returns getPresentationName from the
 last UndoableEdit added to
 edits. If edits is empty,
 calls super.

returns: the empty string "" - `java.lang.String`
raw docstring

get-redo-presentation-nameclj

(get-redo-presentation-name this)

Returns getRedoPresentationName from the last UndoableEdit added to edits. If edits is empty, calls super.

returns: the value from the defaults table with key AbstractUndoableEdit.redoText, followed by a space, followed by getPresentationName unless getPresentationName is "" in which case, the defaults value is returned alone. - java.lang.String

Returns getRedoPresentationName
 from the last UndoableEdit
 added to edits.
 If edits is empty, calls super.

returns: the value from the defaults table with key
    AbstractUndoableEdit.redoText, followed
    by a space, followed by getPresentationName
    unless getPresentationName is "" in which
    case, the defaults value is returned alone. - `java.lang.String`
raw docstring

get-undo-presentation-nameclj

(get-undo-presentation-name this)

Returns getUndoPresentationName from the last UndoableEdit added to edits. If edits is empty, calls super.

returns: the value from the defaults table with key AbstractUndoableEdit.undoText, followed by a space, followed by getPresentationName unless getPresentationName is "" in which case, the defaults value is returned alone. - java.lang.String

Returns getUndoPresentationName
 from the last UndoableEdit
 added to edits.
 If edits is empty, calls super.

returns: the value from the defaults table with key
    AbstractUndoableEdit.undoText, followed
    by a space, followed by getPresentationName
    unless getPresentationName is "" in which
    case, the defaults value is returned alone. - `java.lang.String`
raw docstring

in-progress?clj

(in-progress? this)

Returns true if this edit is in progress--that is, it has not received end. This generally means that edits are still being added to it.

returns: boolean

Returns true if this edit is in progress--that is, it has not
 received end. This generally means that edits are still being
 added to it.

returns: `boolean`
raw docstring

redoclj

(redo this)

Sends redo to all contained UndoableEdits in the order in which they were added.

throws: javax.swing.undo.CannotRedoException - if canRedo returns false

Sends redo to all contained
 UndoableEdits in the order in
 which they were added.

throws: javax.swing.undo.CannotRedoException - if canRedo returns false
raw docstring

significant?clj

(significant? this)

Returns true if any of the UndoableEdits in edits do. Returns false if they all return false.

returns: true - boolean

Returns true if any of the UndoableEdits
 in edits do.
 Returns false if they all return false.

returns: true - `boolean`
raw docstring

to-stringclj

(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`
raw docstring

undoclj

(undo this)

Sends undo to all contained UndoableEdits in the reverse of the order in which they were added.

throws: javax.swing.undo.CannotUndoException - if canUndo returns false

Sends undo to all contained
 UndoableEdits in the reverse of
 the order in which they were added.

throws: javax.swing.undo.CannotUndoException - if canUndo returns false
raw docstring

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

× close