|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jfig.commands.UndoStack
keep track of jfig editing commands for undo and redo.
Constructor Summary | |
UndoStack()
|
Method Summary | |
boolean |
hasChanges()
|
void |
push(Command cmd)
|
void |
redo()
redo an operation: pop off the top-level Command from the redoStack and call it's execute() method. |
void |
setMenuItems(java.lang.Object undoMI,
java.lang.Object redoMI)
set the MenuItem corresponding to the 'Undo' and 'Redo' Commands. |
java.lang.String |
toString()
|
void |
undo()
undo an operation: pop off the top-level Command from the undoStack, put it to the top of the redoStack, then call it's undo() method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public UndoStack()
Method Detail |
public boolean hasChanges()
public void push(Command cmd)
public void undo()
public void redo()
public void setMenuItems(java.lang.Object undoMI, java.lang.Object redoMI)
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |