cz.vity.freerapid.gui.dialogs
Class CompoundUndoManager

java.lang.Object
  extended by javax.swing.undo.AbstractUndoableEdit
      extended by javax.swing.undo.CompoundEdit
          extended by javax.swing.undo.UndoManager
              extended by cz.vity.freerapid.gui.dialogs.CompoundUndoManager
All Implemented Interfaces:
Serializable, EventListener, UndoableEditListener, UndoableEdit

 class CompoundUndoManager
extends UndoManager
implements UndoableEditListener

Author:
Vity

Nested Class Summary
(package private)  class CompoundUndoManager.MyCompoundEdit
           
 
Field Summary
 CompoundEdit compoundEdit
           
 
Fields inherited from class javax.swing.undo.CompoundEdit
edits
 
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
 
Constructor Summary
CompoundUndoManager(JTextComponent editor)
           
 
Method Summary
 void undoableEditHappened(UndoableEditEvent e)
           
 
Methods inherited from class javax.swing.undo.UndoManager
addEdit, canRedo, canUndo, canUndoOrRedo, discardAllEdits, editToBeRedone, editToBeUndone, end, getLimit, getRedoPresentationName, getUndoOrRedoPresentationName, getUndoPresentationName, redo, redoTo, setLimit, toString, trimEdits, trimForLimit, undo, undoOrRedo, undoTo
 
Methods inherited from class javax.swing.undo.CompoundEdit
die, getPresentationName, isInProgress, isSignificant, lastEdit
 
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
replaceEdit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

compoundEdit

public CompoundEdit compoundEdit
Constructor Detail

CompoundUndoManager

public CompoundUndoManager(JTextComponent editor)
Method Detail

undoableEditHappened

public void undoableEditHappened(UndoableEditEvent e)
Specified by:
undoableEditHappened in interface UndoableEditListener
Overrides:
undoableEditHappened in class UndoManager