javax.swing.undo
Interface UndoableEdit

All Known Implementing Classes:
CreateGeomFigureEdit, DeleteGeomFigureEdit, FillColorEdit, MoveGeomFigureEdit, ResizeGeomFigureEdit, StrokeColorEdit, StrokeWidthEdit

public interface UndoableEdit


Method Summary
 booleanaddEdit(javax.swing.undo.UndoableEdit )
           
 booleancanRedo()
           
 booleancanUndo()
           
 voiddie()
           
 java.lang.StringgetPresentationName()
           
 java.lang.StringgetRedoPresentationName()
           
 java.lang.StringgetUndoPresentationName()
           
 booleanisSignificant()
           
 voidredo()
           
 booleanreplaceEdit(javax.swing.undo.UndoableEdit )
           
 voidundo()
           

Method Detail

addEdit

public boolean addEdit(javax.swing.undo.UndoableEdit )

canRedo

public boolean canRedo()

canUndo

public boolean canUndo()

die

public void die()

getPresentationName

public java.lang.String getPresentationName()

getRedoPresentationName

public java.lang.String getRedoPresentationName()

getUndoPresentationName

public java.lang.String getUndoPresentationName()

isSignificant

public boolean isSignificant()

redo

public void redo()

replaceEdit

public boolean replaceEdit(javax.swing.undo.UndoableEdit )

undo

public void undo()