Package javax.swing.undo

Interface Summary
StateEditable sample code for javax.swing.undo.StateEditable definition code for javax.swing.undo.StateEditable StateEditable defines the interface for objects that can have their state undone/redone by a StateEdit.
UndoableEdit sample code for javax.swing.undo.UndoableEdit definition code for javax.swing.undo.UndoableEdit An object representing an edit that has been done, and that can be undone and redone.
 

Class Summary
AbstractUndoableEdit sample code for javax.swing.undo.AbstractUndoableEdit definition code for javax.swing.undo.AbstractUndoableEdit An abstract implementation of UndoableEdit, implementing simple responses to all boolean methods in that interface.
CompoundEdit sample code for javax.swing.undo.CompoundEdit definition code for javax.swing.undo.CompoundEdit A concrete subclass of AbstractUndoableEdit, used to assemble little UndoableEdits into great big ones.
StateEdit sample code for javax.swing.undo.StateEdit definition code for javax.swing.undo.StateEdit StateEdit is a general edit for objects that change state.
UndoableEditSupport sample code for javax.swing.undo.UndoableEditSupport definition code for javax.swing.undo.UndoableEditSupport A support class used for managing UndoableEdit listeners.
UndoManager sample code for javax.swing.undo.UndoManager definition code for javax.swing.undo.UndoManager Concrete subclass of CompoundEdit which can serve as a UndoableEditListener, consolidating the UndoableEditEvents from a variety of sources, and undoing or redoing them one at a time.
 

Exception Summary
CannotRedoException sample code for javax.swing.undo.CannotRedoException definition code for javax.swing.undo.CannotRedoException Thrown when an UndoableEdit is told to redo() and can't.
CannotUndoException sample code for javax.swing.undo.CannotUndoException definition code for javax.swing.undo.CannotUndoException Thrown when an UndoableEdit is told to undo() and can't.