|
FlexDoc/Javadoc 2.0 Demo Java Doc |
UndoableEdit
listeners.Field Summary |
||
protected CompoundEdit |
The compound edit.
|
|
protected Vector<UndoableEditListener> |
The list of listeners.
|
|
protected Object |
The real source.
|
|
protected int |
The update level.
|
Constructor Summary |
||
Constructs an
UndoableEditSupport object. |
||
Constructs an
UndoableEditSupport object. |
Method Summary |
||
protected void |
Called only from
postEdit and endUpdate . |
|
void |
Registers an
UndoableEditListener . |
|
void |
||
protected CompoundEdit |
Called only from
beginUpdate . |
|
void |
DEADLOCK WARNING: Calling this method may call
undoableEditHappened in all listeners. |
|
Returns an array of all the
UndoableEditListener s added
to this UndoableEditSupport with addUndoableEditListener(). |
||
int |
Returns the update level value.
|
|
void |
DEADLOCK WARNING: Calling this method may call
undoableEditHappened in all listeners. |
|
void |
Removes an
UndoableEditListener . |
|
toString()
Returns a string that displays and identifies this
object's properties.
|
Methods inherited from class java.lang.Object |
public UndoableEditSupport |
() |
UndoableEditSupport
object.public UndoableEditSupport |
(Object r) |
UndoableEditSupport
object.
Object
public void addUndoableEditListener |
UndoableEditListener
.
The listener is notified whenever an edit occurs which can be undone.
UndoableEditListener
objectpublic void removeUndoableEditListener |
UndoableEditListener
.
UndoableEditListener
object to be removedpublic UndoableEditListener[] getUndoableEditListeners |
() |
UndoableEditListener
s added
to this UndoableEditSupport with addUndoableEditListener().
UndoableEditListener
s added or an empty
array if no listeners have been addedprotected void _postEdit |
(UndoableEdit e) |
postEdit
and endUpdate
. Calls
undoableEditHappened
in all listeners. No synchronization
is performed here, since the two calling methods are synchronized.
public void postEdit |
(UndoableEdit e) |
undoableEditHappened
in all listeners.
It is unwise to call this method from one of its listeners.
public int getUpdateLevel |
() |
public void beginUpdate |
() |
protected CompoundEdit createCompoundEdit |
() |
beginUpdate
.
Exposed here for subclasses' use.
public void endUpdate |
() |
undoableEditHappened
in all listeners.
It is unwise to call this method from one of its listeners.public String toString |
() |
String
representation of this object
|
FlexDoc/Javadoc 2.0 Demo Java Doc |