com.virtuosotechnologies.lib.util
Class CollectingCompoundEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
javax.swing.undo.CompoundEdit
com.virtuosotechnologies.lib.util.CollectingCompoundEdit
- All Implemented Interfaces:
- EventListener, Serializable, UndoableEdit, UndoableEditListener
- public class CollectingCompoundEdit
- extends CompoundEdit
- implements UndoableEditListener
A CompoundEdit that implements UndoableEditListener.
I'd use UndoManager for this, but sometimes we want to disable the limit feature.
- See Also:
- Serialized Form
Methods inherited from class javax.swing.undo.CompoundEdit |
addEdit, canRedo, canUndo, die, end, getPresentationName, getRedoPresentationName, getUndoPresentationName, isInProgress, isSignificant, lastEdit, redo, toString, undo |
CollectingCompoundEdit
public CollectingCompoundEdit()
- Constructor
undoableEditHappened
public void undoableEditHappened(UndoableEditEvent ev)
- Implementation of UndoableEditListener.
- Specified by:
undoableEditHappened
in interface UndoableEditListener
- Parameters:
ev
- event