com.nwoods.jgo
Interface UndoableEdit

All Known Implementing Classes:
AbstractUndoableEdit

public interface UndoableEdit

This exists for compatibility with javax.swing.undo.UndoableEdit.


Method Summary
 boolean addEdit(UndoableEdit anEdit)
           
 boolean canRedo()
           
 boolean canUndo()
           
 void die()
           
 java.lang.String getPresentationName()
           
 java.lang.String getRedoPresentationName()
           
 java.lang.String getUndoPresentationName()
           
 void redo()
           
 void undo()
           
 

Method Detail

undo

public void undo()
          throws CannotUndoException
Throws:
CannotUndoException

canUndo

public boolean canUndo()

redo

public void redo()
          throws CannotRedoException
Throws:
CannotRedoException

canRedo

public boolean canRedo()

die

public void die()

addEdit

public boolean addEdit(UndoableEdit anEdit)

getPresentationName

public java.lang.String getPresentationName()

getUndoPresentationName

public java.lang.String getUndoPresentationName()

getRedoPresentationName

public java.lang.String getRedoPresentationName()