org.syntax.jedit
Class JEditTextArea.CaretUndo

java.lang.Object
  extended byjavax.swing.undo.AbstractUndoableEdit
      extended byorg.syntax.jedit.JEditTextArea.CaretUndo
All Implemented Interfaces:
java.io.Serializable, javax.swing.undo.UndoableEdit
Enclosing class:
JEditTextArea

class JEditTextArea.CaretUndo
extends javax.swing.undo.AbstractUndoableEdit


Field Summary
 
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
 
Constructor Summary
(package private) JEditTextArea.CaretUndo(int start, int end)
           
 
Method Summary
 boolean addEdit(javax.swing.undo.UndoableEdit edit)
           
 java.lang.String getPresentationName()
           
 boolean isSignificant()
           
 void redo()
           
 void undo()
           
 
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
canRedo, canUndo, die, getRedoPresentationName, getUndoPresentationName, replaceEdit, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JEditTextArea.CaretUndo

JEditTextArea.CaretUndo(int start,
                        int end)
Method Detail

isSignificant

public boolean isSignificant()

getPresentationName

public java.lang.String getPresentationName()

undo

public void undo()
          throws javax.swing.undo.CannotUndoException
Throws:
javax.swing.undo.CannotUndoException

redo

public void redo()
          throws javax.swing.undo.CannotRedoException
Throws:
javax.swing.undo.CannotRedoException

addEdit

public boolean addEdit(javax.swing.undo.UndoableEdit edit)