lapisx.swing
Class CoalescingUndo.KeyTypedEdit

java.lang.Object
  extended byjavax.swing.undo.AbstractUndoableEdit
      extended byjavax.swing.undo.CompoundEdit
          extended bylapisx.swing.CoalescingUndo.KeyTypedEdit
All Implemented Interfaces:
CaretListener, EventListener, Serializable, UndoableEdit
Enclosing class:
CoalescingUndo

protected static class CoalescingUndo.KeyTypedEdit
extends CompoundEdit
implements CaretListener

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.undo.CompoundEdit
edits
 
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
 
Constructor Summary
CoalescingUndo.KeyTypedEdit(JTextComponent editor)
           
 
Method Summary
 void caretUpdate(CaretEvent evt)
           
 void end()
           
 boolean replaceEdit(UndoableEdit edit)
           
 
Methods inherited from class javax.swing.undo.CompoundEdit
addEdit, canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isInProgress, isSignificant, lastEdit, redo, toString, undo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CoalescingUndo.KeyTypedEdit

public CoalescingUndo.KeyTypedEdit(JTextComponent editor)
Method Detail

replaceEdit

public boolean replaceEdit(UndoableEdit edit)
Specified by:
replaceEdit in interface UndoableEdit

end

public void end()

caretUpdate

public void caretUpdate(CaretEvent evt)
Specified by:
caretUpdate in interface CaretListener