|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A model for undo and redo.
| Method Summary | |
|---|---|
boolean |
canRedo()
Returns true if there is something that can be redone. |
boolean |
canUndo()
Returns true if there is something that can be undone. |
void |
clear()
Clears the state of this model. |
void |
redo()
Redo the last change that was undone. |
void |
undo()
Undo the last change that was made. |
| Method Detail |
public boolean canUndo()
public void undo()
public boolean canRedo()
public void redo()
public void clear()
canUndo and canRedo return false.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||