Generated by
JDiff

javax.swing.undo Documentation Differences

This file contains all the changes in documentation in the package javax.swing.undo as colored differences. Deletions are shown like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.

Class AbstractUndoableEdit

An abstract implementation of UndoableEdit implementing simple responses to all boolean methods in that interface. @version 1.19 0921 02/2102/9800 @author Ray Ryan

Class CompoundEdit

A concrete subclass of AbstractUndoableEdit used to assemble little UndoableEdits into great big ones. @version 1.15 0917 02/2102/9800 @author Ray Ryan

Class StateEdit

StateEdit is a general edit for objects that change state. Objects being edited must conform to the StateEditable interface.

This edit class works by asking an object to store it's state in Hashtables before and after editing occurs. Upon undo or redo the object is told to restore it's state from these Hashtables.

A state edit is used as follows:
 // Create the edit during the "before" state of the object StateEdit newEdit = new StateEdit(myObject); // Modify the object myObject.someStateModifyingMethod(); // "end" the edit when you are done modifying the object newEdit.end(); 

Note that when a StateEdit ends it removes redundant state from the Hashtables - A state Hashtable is not guaranteed to contain all keys/values placed into it when the state is stored

@see StateEditable @version 1.8 0810 02/2602/9800 @author Ray Ryan

Class UndoManager

Concrete subclass of CompoundEdit which can serve as an UndoableEditListener consolidating the UndoableEditEvents from a variety of sources and undoing or redoing them one at a time. Unlike AbstractUndoableEdit and CompoundEdit the public methods of this class are synchronized and should be safe to call from multiple threads. This should make UndoManager a convenient marshall for sets of undoable JavaBeans.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence. @author Ray Ryan @version 1.23 0826 02/2802/9800


Class UndoableEdit

An object representing an edit that has been done and that can be undone and redone @version 1.12 0814 02/2602/9800 @author Ray Ryan

Class UndoableEditSupport

A support class used for managing UndoableEdit listeners. @author Ray Ryan @version 1.9 0911 02/0102/9800