Class Undo.CompoundEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
org.opensourcephysics.cabrillo.tracker.Undo.CompoundEdit
- All Implemented Interfaces:
Serializable,UndoableEdit
- Enclosing class:
- Undo
A class to undo/redo a pair of UndoableEdits.
- See Also:
-
Field Summary
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, canRedo, canUndo, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
-
Constructor Details
-
CompoundEdit
-
-
Method Details
-
undo
- Specified by:
undoin interfaceUndoableEdit- Overrides:
undoin classAbstractUndoableEdit- Throws:
CannotUndoException
-
redo
- Specified by:
redoin interfaceUndoableEdit- Overrides:
redoin classAbstractUndoableEdit- Throws:
CannotUndoException
-
getPresentationName
- Specified by:
getPresentationNamein interfaceUndoableEdit- Overrides:
getPresentationNamein classAbstractUndoableEdit
-