javax.swing.undo
public class: AbstractUndoableEdit [javadoc |
source]
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
All Implemented Interfaces:
UndoableEdit, Serializable
Direct Known Subclasses:
InsertUndo, UndoableRemoveEntry, RemoveUndo, UndoManager, UndoableFieldChange, RemoveUndo, UndoableMoveString, UndoableStringChange, DefaultDocumentEvent, InsertUndo, CountingUndoManager, AttributeUndoableEdit, CompoundEdit, UndoableInsertEntry, StateEdit, UndoableAddOrRemoveGroup, UndoableInsertString, UndoableRemoveString, ElementEdit, UndoableModifyGroup, UndoablePreambleChange, NamedCompound, StyleChangeUndoableEdit
An abstract implementation of
UndoableEdit,
implementing simple responses to all boolean methods in
that interface.
| Field Summary |
|---|
| protected static final String | UndoName | String returned by getUndoPresentationName;
as of Java 2 platform v1.3.1 this field is no longer used. This value
is now localized and comes from the defaults table with key
AbstractUndoableEdit.undoText. |
| protected static final String | RedoName | String returned by getRedoPresentationName;
as of Java 2 platform v1.3.1 this field is no longer used. This value
is now localized and comes from the defaults table with key
AbstractUndoableEdit.redoText. |
| boolean | hasBeenDone | Defaults to true; becomes false if this edit is undone, true
again if it is redone. |
| boolean | alive | True if this edit has not received die; defaults
to true. |
| Method from javax.swing.undo.AbstractUndoableEdit Summary: |
|---|
|
addEdit, canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, redo, replaceEdit, toString, undo |
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |