All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.java.swing.undo.UndoableEditSupport
java.lang.Object
|
+----com.sun.java.swing.undo.UndoableEditSupport
- public class UndoableEditSupport
- extends Object
-
compoundEdit
-
-
listeners
-
-
realSource
-
-
updateLevel
-
-
UndoableEditSupport()
-
-
UndoableEditSupport(Object)
-
-
_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()
-
updateLevel
protected int updateLevel
compoundEdit
protected CompoundEdit compoundEdit
listeners
protected Vector listeners
realSource
protected Object realSource
UndoableEditSupport
public UndoableEditSupport()
UndoableEditSupport
public UndoableEditSupport(Object r)
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
All Packages Class Hierarchy This Package Previous Next Index