UndoableEdit listeners.
| Modifier and Type | Field and Description |
|---|---|
| protected CompoundEdit | compoundEdit
The compound edit. |
| protected Vector | listeners
The list of listeners. |
| protected Object | realSource
The real source. |
| protected int | updateLevel
The update level. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public synchronized void | addUndoableEditListener(UndoableEditListener
an l)UndoableEditListener objectRegisters an |
| public synchronized void | |
| protected CompoundEdit | |
| public synchronized void | |
| public synchronized UndoableEditListener[] | Returns: all of theUndoableEditListeners added or an empty
array if no listeners have been addedReturns an array of all the |
| public int | |
| public synchronized void | postEdit(UndoableEdit
edit to be posted e)DEADLOCK WARNING: Calling this method may call
|
| public synchronized void | removeUndoableEditListener(UndoableEditListener
the l)UndoableEditListener object to be removedRemoves an |
| public String | Returns: aString representation of this objectOverrides java. Returns a string that displays and identifies this object's properties. |
| compoundEdit | back to summary |
|---|---|
| protected CompoundEdit compoundEdit The compound edit. | |
| listeners | back to summary |
|---|---|
| protected Vector<UndoableEditListener> listeners The list of listeners. | |
| realSource | back to summary |
|---|---|
| protected Object realSource The real source. | |
| updateLevel | back to summary |
|---|---|
| protected int updateLevel The update level. | |
| UndoableEditSupport | back to summary |
|---|---|
| public UndoableEditSupport() Constructs an | |
| UndoableEditSupport | back to summary |
|---|---|
| public UndoableEditSupport(Object r) Constructs an
| |
| _postEdit | back to summary |
|---|---|
| protected void _postEdit(UndoableEdit e) Called only from
| |
| addUndoableEditListener | back to summary |
|---|---|
| public synchronized void addUndoableEditListener(UndoableEditListener l) Registers an
| |
| beginUpdate | back to summary |
|---|---|
| public synchronized void beginUpdate() Starts a compound edit update. | |
| createCompoundEdit | back to summary |
|---|---|
| protected CompoundEdit createCompoundEdit() Called only from
| |
| endUpdate | back to summary |
|---|---|
| public synchronized void endUpdate() DEADLOCK WARNING: Calling this method may call
| |
| getUndoableEditListeners | back to summary |
|---|---|
| public synchronized UndoableEditListener[] getUndoableEditListeners() Returns an array of all the
| |
| getUpdateLevel | back to summary |
|---|---|
| public int getUpdateLevel() Returns the update level value.
| |
| postEdit | back to summary |
|---|---|
| public synchronized void postEdit(UndoableEdit e) DEADLOCK WARNING: Calling this method may call
| |
| removeUndoableEditListener | back to summary |
|---|---|
| public synchronized void removeUndoableEditListener(UndoableEditListener l) Removes an
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a string that displays and identifies this object's properties.
| |