|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UndoRedoStack
An Stack of Undo/Redo operations.
Method Summary | |
---|---|
boolean |
canRedo()
If a redo can be performed on the stack. |
boolean |
canUndo()
If an undo can be performed on the stack. |
List |
getRedoInfos()
Returns the list of UndoRedoInfo in the REDO stack |
List |
getUndoInfos()
Returns the list of UndoRedoInfo in the UNDO stack |
void |
redo()
Re-does the following redoable elements. |
void |
redo(int num)
Re-does a number of the following redoable element. |
void |
undo()
Undoes the following undoable elements. |
void |
undo(int num)
Undoes a number of the following undoable elements. |
Methods inherited from interface org.gvsig.tools.observer.Observable |
---|
addObserver, deleteObserver, deleteObservers |
Method Detail |
---|
void undo() throws UndoException
UndoException
- if there is an error performing de undo elementvoid undo(int num) throws UndoException
num
- the number of elements to undo
UndoException
- if there is an error performing de undo elementvoid redo() throws RedoException
RedoException
- if there is an error performing de redo elementvoid redo(int num) throws RedoException
num
- the number of elements to redo
RedoException
- if there is an error performing de redo elementList getUndoInfos()
List getRedoInfos()
boolean canUndo()
boolean canRedo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |