Пример #1
0
 public void setUpUndo(Image image) {
   mementoManager.addImage(image);
 }
Пример #2
0
 public Image redoImage() {
   return mementoManager.redoImage();
 }
Пример #3
0
 public boolean isFirstUndo() {
   return mementoManager.isFirstUndo();
 }
Пример #4
0
 public Image undoImage() {
   return mementoManager.undoImage();
 }
Пример #5
0
 public boolean isRedoable() {
   return mementoManager.isRedoable();
 }