Home » openjdk-7 » javax » swing » text » [javadoc | source]
javax.swing.text
class: GapContent.InsertUndo [javadoc | source]
java.lang.Object
   javax.swing.undo.AbstractUndoableEdit
      javax.swing.text.GapContent$InsertUndo

All Implemented Interfaces:
    UndoableEdit, Serializable

UnoableEdit created for inserts.
Field Summary
protected  int offset    Where string was inserted. 
protected  int length    Length of string inserted. 
protected  String string    The string that was inserted. This will only be valid after an undo. 
protected  Vector posRefs    An array of instances of UndoPosRef for the Positions in the range that was removed, valid after undo. 
Fields inherited from javax.swing.undo.AbstractUndoableEdit:
UndoName,  RedoName,  hasBeenDone,  alive
Constructor:
 protected InsertUndo(int offset,
    int length) 
Method from javax.swing.text.GapContent$InsertUndo 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.GapContent$InsertUndo Detail:
 public  void redo() throws CannotRedoException 
 public  void undo() throws CannotUndoException