Home » openjdk-7 » javax » swing » text » [javadoc | source]
javax.swing.text
class: AbstractDocument.UndoRedoDocumentEvent [javadoc | source]
java.lang.Object
   javax.swing.text.AbstractDocument$UndoRedoDocumentEvent

All Implemented Interfaces:
    DocumentEvent

This event used when firing document changes while Undo/Redo operations. It just wraps DefaultDocumentEvent and delegates all calls to it except getType() which depends on operation (Undo or Redo).
Constructor:
 public UndoRedoDocumentEvent(DefaultDocumentEvent src,
    boolean isUndo) 
Method from javax.swing.text.AbstractDocument$UndoRedoDocumentEvent Summary:
getChange,   getDocument,   getLength,   getOffset,   getSource,   getType
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.text.AbstractDocument$UndoRedoDocumentEvent Detail:
 public ElementChange getChange(Element elem) 
 public Document getDocument() 
 public int getLength() 
 public int getOffset() 
 public DefaultDocumentEvent getSource() 
 public EventType getType()