public class CommandStack extends Object
| Constructor and Description |
|---|
CommandStack() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
execute(Command command) |
int |
getExecutionStackSize() |
void |
redo() |
void |
redoAll() |
void |
undo() |
void |
undoAll() |
public void execute(Command command) throws CommandException
CommandExceptionpublic void undo()
public void redo()
public void undoAll()
public void redoAll()
public void clear()
public int getExecutionStackSize()
Copyright © 2017. All rights reserved.