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

All Implemented Interfaces:
    UndoableEdit, Serializable

Field Summary
protected final  boolean inserted     
protected final  int len     
protected final  int pos     
protected  String text     
Fields inherited from javax.swing.undo.AbstractUndoableEdit:
UndoName,  RedoName,  hasBeenDone,  alive
Constructor:
 public AbstractContentUndoableEdit(int where,
    String chars,
    boolean isInsertCommand) throws BadLocationException 
Method from javax.swing.text.AbstractContentUndoableEdit Summary:
die,   getPositionsInRange,   getPresentationName,   insertItems,   redo,   removeItems,   undo,   updateUndoPositions
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.AbstractContentUndoableEdit Detail:
 public  void die() 
 abstract protected Vector getPositionsInRange(Vector positions,
    int where,
    int length)
 public String getPresentationName() 
 abstract protected  void insertItems(int where,
    String chars)
 public  void redo() 
 abstract protected  void removeItems(int where,
    int length)
 public  void undo() 
 abstract protected  void updateUndoPositions(Vector undoPositions)