java.io.Serializable
, java.util.EventListener
, javax.swing.event.UndoableEditListener
, javax.swing.undo.UndoableEdit
public class CompoundUndoMan
extends javax.swing.undo.UndoManager
Constructor | Description |
---|---|
CompoundUndoMan(SyntaxDocument doc) |
Modifier and Type | Method | Description |
---|---|---|
void |
startCombine() |
Start to combine the next operations together.
|
void |
undoableEditHappened(javax.swing.event.UndoableEditEvent e) |
Whenever an UndoableEdit happens the edit will either be absorbed
by the current compound edit or a new compound edit will be started
|
die, getPresentationName, isInProgress, isSignificant, lastEdit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addEdit, canRedo, canUndo, canUndoOrRedo, discardAllEdits, editToBeRedone, editToBeUndone, end, getLimit, getRedoPresentationName, getUndoOrRedoPresentationName, getUndoPresentationName, redo, redoTo, setLimit, toString, trimEdits, trimForLimit, undo, undoOrRedo, undoTo
public CompoundUndoMan(SyntaxDocument doc)
public void undoableEditHappened(javax.swing.event.UndoableEditEvent e)
undoableEditHappened
in interface javax.swing.event.UndoableEditListener
undoableEditHappened
in class javax.swing.undo.UndoManager
public void startCombine()