be.ugent.caagt.swirl.undoredo
Interface UndoListener
- EventListener
- RedoAction, RedoCommand, UndoAction, UndoCommand
public interface UndoListener
extends 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.
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.
|
undoStateChanged
public 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.