public class UndoActionsList extends java.lang.Object implements UndoAction
| Red (cxh) |
| Yellow (eal) |
| Constructor and Description |
|---|
UndoActionsList(UndoAction firstAction)
Create an undo action with the specified action
to be executed first.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(UndoAction action)
Append a new entry to the list.
|
void |
execute()
Execute the action.
|
java.lang.String |
toString() |
public UndoActionsList(UndoAction firstAction)
firstAction - The action to execute first.public void add(UndoAction action)
action - The entry to append.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