swingwtx.swing.undo
Interface UndoableEdit

All Known Implementing Classes:
AbstractUndoableEdit

public interface UndoableEdit

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()
           
 boolean isSignificant()
           
 void redo()
           
 boolean replaceEdit(UndoableEdit anEdit)
           
 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)

replaceEdit

public boolean replaceEdit(UndoableEdit anEdit)

isSignificant

public boolean isSignificant()

getPresentationName

public java.lang.String getPresentationName()

getUndoPresentationName

public java.lang.String getUndoPresentationName()

getRedoPresentationName

public java.lang.String getRedoPresentationName()