JIDE 3.5.15

com.jidesoft.swing
Interface UndoableSupport

All Known Subinterfaces:
ListUndoableSupport, TableUndoableSupport
All Known Implementing Classes:
AbstractUndoableListModel, AbstractUndoableTableModel, DefaultDockingManager, DefaultUndoableListModel, DefaultUndoableTableModel

public interface UndoableSupport

A general interface to provide undoable support within Swing component.

Since:
3.3.4

Method Summary
 void beginCompoundEdit(boolean isUndoRedo)
          Begins the edit of the model.
 void endCompoundEdit()
          Ends the edit of the model.
 UndoableEditSupport getUndoableEditSupport()
          Gets the UndoableEditSupport instance to add UndoableListener.
 UndoManager getUndoManager()
          Gets the UndoManager.
 

Method Detail

getUndoManager

UndoManager getUndoManager()
Gets the UndoManager.

Returns:
the UndoManager.

getUndoableEditSupport

UndoableEditSupport getUndoableEditSupport()
Gets the UndoableEditSupport instance to add UndoableListener.

Returns:
the UndoableEditSupport instance.

beginCompoundEdit

void beginCompoundEdit(boolean isUndoRedo)
Begins the edit of the model.

Parameters:
isUndoRedo - the flag to indicate if this operation is triggered by undo/redo

endCompoundEdit

void endCompoundEdit()
Ends the edit of the model.


JIDE 3.5.15