Where Am I? Class Hierarchy (JFC) All Classes (JFC)

Class com.sun.java.swing.undo.UndoableEditSupport

java.lang.Object
   |
   +----com.sun.java.swing.undo.UndoableEditSupport

public class UndoableEditSupport
extends Object


Variable Index

compoundEdit
listeners
realSource
updateLevel

Constructor Index

UndoableEditSupport()
UndoableEditSupport(Object)

Method Index

_postEdit(UndoableEdit)
Called only from postEdit and endUpdate.
addUndoableEditListener(UndoableEditListener)
beginUpdate()
createCompoundEdit()
Called only from beginUpdate.
endUpdate()
DEADLOCK WARNING: Calling this method may call undoableEditHappened in all listeners.
getUpdateLevel()
postEdit(UndoableEdit)
DEADLOCK WARNING: Calling this method may call undoableEditHappened in all listeners.
removeUndoableEditListener(UndoableEditListener)
toString()

Variables

updateLevel
 protected int updateLevel
compoundEdit
 protected CompoundEdit compoundEdit
listeners
 protected Vector listeners
realSource
 protected Object realSource

Constructors

UndoableEditSupport
 public UndoableEditSupport()
UndoableEditSupport
 public UndoableEditSupport(Object r)

Methods

addUndoableEditListener
 public synchronized void addUndoableEditListener(UndoableEditListener l)
removeUndoableEditListener
 public synchronized void removeUndoableEditListener(UndoableEditListener l)
_postEdit
 protected void _postEdit(UndoableEdit e)
Called only from postEdit and endUpdate. Calls undoableEditHappened in all listeners. No synchronization is performed here, since the two calling methods are synchonized.

postEdit
 public synchronized void postEdit(UndoableEdit e)
DEADLOCK WARNING: Calling this method may call undoableEditHappened in all listeners. It is unwise to call this method from one of its listeners.

getUpdateLevel
 public int getUpdateLevel()
beginUpdate
 public synchronized void beginUpdate()
createCompoundEdit
 protected CompoundEdit createCompoundEdit()
Called only from beginUpdate. Exposed here for subclasses' use

endUpdate
 public synchronized void endUpdate()
DEADLOCK WARNING: Calling this method may call undoableEditHappened in all listeners. It is unwise to call this method from one of its listeners.

toString
 public String toString()
Overrides:
toString in class Object

Where Am I? Class Hierarchy (JFC) All Classes (JFC)