API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.undo. UndoableEdit View Source
Author(s)
Ray Ryan
Since
Version
1.21, 11/17/05
Serial
Hierarchy
 UndoableEdit
Subinterfaces
Description
public interface UndoableEdit
  An UndoableEdit represents an edit.
See also:   
Methods
Hide/Show inherited methods
public boolean addEdit (UndoableEdit anEdit)
  Adds an UndoableEdit to this UndoableEdit.
public boolean canRedo ()
  Returns true if this edit may be redone.
public boolean canUndo ()
  Returns true if this edit may be undone.
public void die ()
  Informs the edit that it should no longer be used.
public String getPresentationName ()
  Returns a localized, human-readable description of this edit, suitable for use in a change log, for example.
public String getRedoPresentationName ()
  Returns a localized, human-readable description of the redoable form of this edit, suitable for use as a Redo menu item, for example.
public String getUndoPresentationName ()
  Returns a localized, human-readable description of the undoable form of this edit, suitable for use as an Undo menu item, for example.
public boolean isSignificant ()
  Returns true if this edit is considered significant.
public void redo () throws CannotRedoException
  Re-applies the edit.
public boolean replaceEdit (UndoableEdit anEdit)
  Returns true if this UndoableEdit should replace anEdit.
public void undo () throws CannotUndoException
  Undo the edit.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar