|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.undo.UndoableEditSupport
A support class used for managing UndoableEdit listeners.
Field Summary | |
protected CompoundEdit |
compoundEdit
|
protected Vector |
listeners
|
protected Object |
realSource
|
protected int |
updateLevel
|
Constructor Summary | |
UndoableEditSupport()
Constructs an UndoableEditSupport object. |
|
UndoableEditSupport(Object r)
Constructs an UndoableEditSupport object. |
Method Summary | |
protected void |
_postEdit(UndoableEdit e)
Called only from postEdit and endUpdate. |
void |
addUndoableEditListener(UndoableEditListener l)
Registers an UndoableEditListener. |
void |
beginUpdate()
|
protected CompoundEdit |
createCompoundEdit()
Called only from beginUpdate. |
void |
endUpdate()
DEADLOCK WARNING: Calling this method may call undoableEditHappened in all listeners. |
int |
getUpdateLevel()
Returns the update level value. |
void |
postEdit(UndoableEdit e)
DEADLOCK WARNING: Calling this method may call undoableEditHappened in all listeners. |
void |
removeUndoableEditListener(UndoableEditListener l)
Removes an UndoableEditListener. |
String |
toString()
Returns a string that displays and identifies this object's properties. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected int updateLevel
protected CompoundEdit compoundEdit
protected Vector listeners
protected Object realSource
Constructor Detail |
public UndoableEditSupport()
public UndoableEditSupport(Object r)
r
- an ObjectMethod Detail |
public void addUndoableEditListener(UndoableEditListener l)
l
- an UndoableEditListener objectremoveUndoableEditListener(javax.swing.event.UndoableEditListener)
public void removeUndoableEditListener(UndoableEditListener l)
l
- an UndoableEditListener objectaddUndoableEditListener(javax.swing.event.UndoableEditListener)
protected void _postEdit(UndoableEdit e)
public void postEdit(UndoableEdit e)
public int getUpdateLevel()
public void beginUpdate()
protected CompoundEdit createCompoundEdit()
public void endUpdate()
public String toString()
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |