Class Undo.TEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
org.opensourcephysics.cabrillo.tracker.Undo.TEdit
- All Implemented Interfaces:
Serializable,UndoableEdit
- Direct Known Subclasses:
Undo.CoordsEdit,Undo.FilterEdit,Undo.StepEdit,Undo.StepSetEdit,Undo.TrackDisplayEdit,Undo.TrackEdit,Undo.VideoReplace
- Enclosing class:
- Undo
A class to undo/redo changes to objects associated with a TrackerPanel. The
constructor takes the TrackerPanel, the object AFTER being changed, and an
XMLControl storing the state of the object BEFORE the changes.
- See Also:
-
Field Summary
FieldsFields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTEdit(TrackerPanel panel, Object obj, XMLControl control) -
Method Summary
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
-
Field Details
-
frame
-
panelID
-
-
Constructor Details
-
TEdit
-
-
Method Details
-
undo
- Specified by:
undoin interfaceUndoableEdit- Overrides:
undoin classAbstractUndoableEdit- Throws:
CannotUndoException
-
redo
- Specified by:
redoin interfaceUndoableEdit- Overrides:
redoin classAbstractUndoableEdit- Throws:
CannotUndoException
-