swingwtx.swing.undo
Class UndoableEditSupport

java.lang.Object
  extended byswingwtx.swing.undo.UndoableEditSupport

public class UndoableEditSupport
extends java.lang.Object

UndoableEditSupport


Field Summary
protected  CompoundEdit compoundEdit
           
protected  EventListenerList listenerList
          Listener support
protected  java.lang.Object realSource
           
protected  int updateLevel
           
 
Constructor Summary
UndoableEditSupport()
           
UndoableEditSupport(java.lang.Object source)
           
 
Method Summary
 void addUndoableEditListener(UndoableEditListener undoableEditListener)
           
 void beginUpdate()
           
protected  CompoundEdit createCompoundEdit()
           
 void endUpdate()
           
 UndoableEditListener[] getUndoableEditListeners()
           
 int getUpdateLevel()
           
 void postEdit(UndoableEdit undoableEdit)
           
 void removeUndoableEditListener(UndoableEditListener undoableEditListener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

compoundEdit

protected CompoundEdit compoundEdit

realSource

protected java.lang.Object realSource

updateLevel

protected int updateLevel

listenerList

protected EventListenerList listenerList
Listener support

Constructor Detail

UndoableEditSupport

public UndoableEditSupport()

UndoableEditSupport

public UndoableEditSupport(java.lang.Object source)
Method Detail

getUpdateLevel

public int getUpdateLevel()

postEdit

public void postEdit(UndoableEdit undoableEdit)

createCompoundEdit

protected CompoundEdit createCompoundEdit()

beginUpdate

public void beginUpdate()

endUpdate

public void endUpdate()

addUndoableEditListener

public void addUndoableEditListener(UndoableEditListener undoableEditListener)

removeUndoableEditListener

public void removeUndoableEditListener(UndoableEditListener undoableEditListener)

getUndoableEditListeners

public UndoableEditListener[] getUndoableEditListeners()