|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectclasses.main.Memento
public class Memento
Stores the internal state of the objects in the command container class
| Constructor Summary | |
|---|---|
Memento()
|
|
| Method Summary | |
|---|---|
IShape |
getState()
Returns the previous state (undo operation) |
void |
setState(IShape lastCreatedShape)
Set the current buffer state |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Memento()
| Method Detail |
|---|
public void setState(IShape lastCreatedShape)
lastCreatedShape - last created IShape objectpublic IShape getState()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||