public interface UndoableActionManager
Modifier and Type | Method and Description |
---|---|
void |
bind(Spreadsheet spreadsheet)
Will be called when a manager create
|
void |
clear()
clear the history
|
void |
doAction(UndoableAction action)
Do the action and put it into history
|
java.lang.String |
getRedoLabel()
Get redo label, only available if
isRedoable() |
java.lang.String |
getUndoLabel()
Get undo label, only available if
isUndoable() |
boolean |
isRedoable()
Is redoable
|
boolean |
isUndoable()
Is undoable
|
void |
redoAction()
redo the last undo action, only availabel if
isRedoable() |
void |
setMaxHsitorySize(int size)
Sets the maximun history size
|
void |
undoAction()
undo last action, only available if
isUndoable() |
void doAction(UndoableAction action)
action
- boolean isUndoable()
java.lang.String getUndoLabel()
isUndoable()
void undoAction()
isUndoable()
boolean isRedoable()
java.lang.String getRedoLabel()
isRedoable()
void redoAction()
isRedoable()
void clear()
void setMaxHsitorySize(int size)
size
- void bind(Spreadsheet spreadsheet)
sparedsheet
- Copyright © 2005-2010 Potix Corporation. All Rights Reserved.