public interface UndoableSupport
Modifier and Type | Method and Description |
---|---|
void |
beginCompoundEdit(boolean isUndoRedo)
Begins the edit of the model.
|
void |
endCompoundEdit()
Ends the edit of the model.
|
javax.swing.undo.UndoableEditSupport |
getUndoableEditSupport()
Gets the UndoableEditSupport instance to add UndoableListener.
|
javax.swing.undo.UndoManager |
getUndoManager()
Gets the UndoManager.
|
javax.swing.undo.UndoManager getUndoManager()
javax.swing.undo.UndoableEditSupport getUndoableEditSupport()
void beginCompoundEdit(boolean isUndoRedo)
isUndoRedo
- the flag to indicate if this operation is triggered by undo/redovoid endCompoundEdit()