Home » openjdk-7 » javax » swing » text » [javadoc | source]
javax.swing.text
public static class: DefaultStyledDocument.AttributeUndoableEdit [javadoc | source]
java.lang.Object
   javax.swing.undo.AbstractUndoableEdit
      javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit

All Implemented Interfaces:
    UndoableEdit, Serializable

An UndoableEdit used to remember AttributeSet changes to an Element.
Field Summary
protected  AttributeSet newAttributes     
protected  AttributeSet copy     
protected  boolean isReplacing     
protected  Element element     
Fields inherited from javax.swing.undo.AbstractUndoableEdit:
UndoName,  RedoName,  hasBeenDone,  alive
Constructor:
 public AttributeUndoableEdit(Element element,
    AttributeSet newAttributes,
    boolean isReplacing) 
Method from javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit Summary:
redo,   undo
Methods from javax.swing.undo.AbstractUndoableEdit:
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
Method from javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit Detail:
 public  void redo() throws CannotRedoException 
    Redoes a change.
 public  void undo() throws CannotUndoException 
    Undoes a change.