be.ugent.caagt.swirl.undoredo
Interface UndoListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
RedoAction, UndoAction, UndoRedoAction

public interface UndoListener
extends java.util.EventListener

Listens to changes in the state of an UndoManager. Listeners must be registered with an undo manager if they want to be notified of any changes.

Note: It is the responsibility of the undo listener to keep track of the undo manager being listened to.


Method Summary
 void undoStateChanged()
          Called after a change of state in the UndoManager which is listened to, i.e., when undoable changes are added or removed from the list, when the list position is changed and when the marked position changes.
 

Method Detail

undoStateChanged

void undoStateChanged()
Called after a change of state in the UndoManager which is listened to, i.e., when undoable changes are added or removed from the list, when the list position is changed and when the marked position changes.