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
ConstructorsModifierConstructorDescriptionprotected
TEdit
(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:
undo
in interfaceUndoableEdit
- Overrides:
undo
in classAbstractUndoableEdit
- Throws:
CannotUndoException
-
redo
- Specified by:
redo
in interfaceUndoableEdit
- Overrides:
redo
in classAbstractUndoableEdit
- Throws:
CannotUndoException
-