|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.clackrouter.jgraph.pad.UndoHandler
public class UndoHandler
Undo listener for one document. When a UndoableEditEvent is fired on a listened object undoableEditHappened will be called. The UndoableEditEvent will contain information about the latest edit and store this in the undo command history
Constructor Summary | |
---|---|
UndoHandler(ClackDocument document)
|
Method Summary | |
---|---|
void |
undoableEditHappened(javax.swing.event.UndoableEditEvent e)
Messaged when the Document has created an edit, the edit is added to graphUndoManager , an instance of UndoManager. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UndoHandler(ClackDocument document)
Method Detail |
---|
public void undoableEditHappened(javax.swing.event.UndoableEditEvent e)
graphUndoManager
, an instance of UndoManager.
undoableEditHappened
in interface javax.swing.event.UndoableEditListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |