javax.swing.undo
Class UndoableEditSupport

java.lang.Object
  |
  +--javax.swing.undo.UndoableEditSupport

public class UndoableEditSupport
extends Object


Field Summary
 protected javax.swing.undo.CompoundEditcompoundEdit
           
 protected java.util.Vectorlisteners
           
 protected java.lang.ObjectrealSource
           
 protected intupdateLevel
           

Constructor Summary
UndoableEditSupport()
           
UndoableEditSupport(java.lang.Object )
           

Method Summary
 protected void_postEdit(javax.swing.undo.UndoableEdit )
           
 synchronized voidaddUndoableEditListener(javax.swing.event.UndoableEditListener )
           
 synchronized voidbeginUpdate()
           
 protected javax.swing.undo.CompoundEditcreateCompoundEdit()
           
 synchronized voidendUpdate()
           
 intgetUpdateLevel()
           
 synchronized voidpostEdit(javax.swing.undo.UndoableEdit )
           
 synchronized voidremoveUndoableEditListener(javax.swing.event.UndoableEditListener )
           
 java.lang.StringtoString()
           

Methods inherited from class java.lang.Object
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize

Field Detail

compoundEdit

protected javax.swing.undo.CompoundEdit compoundEdit

listeners

protected java.util.Vector listeners

realSource

protected java.lang.Object realSource

updateLevel

protected int updateLevel
Constructor Detail

UndoableEditSupport

public UndoableEditSupport()

UndoableEditSupport

public UndoableEditSupport(java.lang.Object )
Method Detail

_postEdit

protected void _postEdit(javax.swing.undo.UndoableEdit )

addUndoableEditListener

public synchronized void addUndoableEditListener(javax.swing.event.UndoableEditListener )

beginUpdate

public synchronized void beginUpdate()

createCompoundEdit

protected javax.swing.undo.CompoundEdit createCompoundEdit()

endUpdate

public synchronized void endUpdate()

getUpdateLevel

public int getUpdateLevel()

postEdit

public synchronized void postEdit(javax.swing.undo.UndoableEdit )

removeUndoableEditListener

public synchronized void removeUndoableEditListener(javax.swing.event.UndoableEditListener )

toString

public java.lang.String toString()