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

All Implemented Interfaces:
    UndoableEdit, Serializable

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