public class UndoActionTest extends java.lang.Object implements UndoAction
UndoStackAttribute| Constructor and Description |
|---|
UndoActionTest(java.lang.String name)
Create a UndoActionTest.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Execute the undo or redo action by printing the name on stdout.
|
java.lang.String |
toString()
Return a string representation of this object.
|
public UndoActionTest(java.lang.String name)
name - The name of this UndoAction.public void execute() throws java.lang.Exception
execute in interface UndoActionjava.lang.Exception - If something goes wrong.public java.lang.String toString()
toString in class java.lang.Object