org.opensourcephysics.cabrillo.tracker
Class Undo.VideoReplace

java.lang.Object
  extended by javax.swing.undo.AbstractUndoableEdit
      extended by org.opensourcephysics.cabrillo.tracker.Undo.TEdit
          extended by org.opensourcephysics.cabrillo.tracker.Undo.VideoReplace
All Implemented Interfaces:
java.io.Serializable, javax.swing.undo.UndoableEdit
Enclosing class:
Undo

protected class Undo.VideoReplace
extends Undo.TEdit

A class to undo/redo video replacements.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
 
Method Summary
protected  void load(java.lang.String xml)
           
 void redo()
           
 void undo()
           
 
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

undo

public void undo()
          throws javax.swing.undo.CannotUndoException
Specified by:
undo in interface javax.swing.undo.UndoableEdit
Overrides:
undo in class Undo.TEdit
Throws:
javax.swing.undo.CannotUndoException

redo

public void redo()
          throws javax.swing.undo.CannotUndoException
Specified by:
redo in interface javax.swing.undo.UndoableEdit
Overrides:
redo in class Undo.TEdit
Throws:
javax.swing.undo.CannotUndoException

load

protected void load(java.lang.String xml)