public class TrackChangesCommand extends DisposableCommand
INotifyPropertyValueChanged objects.| Modifier and Type | Method and Description |
|---|---|
protected void |
beginChange()
Called before undoing or redoing the command.
|
protected void |
endChange()
Called after undoing or redoing the command.
|
protected boolean |
getHasEffect()
Gets a value indicating whether the command does anything.
|
protected void |
redo()
Repeats an action that has been undone.
|
protected void |
undo()
Undoes an action, restoring the workbook to the state it was in before carrying out the action.
|
cancel, dispose, executegetWorkbookprotected void undo()
undo in class DisposableCommandprotected void redo()
redo in class DisposableCommandprotected void beginChange()
protected void endChange()
protected boolean getHasEffect()
Commands that have no effect are not stored in the undo history.
getHasEffect in class Command