接口 Command
- 所有已知实现类:
AddShapeCommand
,MoveShapeCommand
,RemoveShapeCommand
public interface Command
Command interface for implementing the Command pattern.
This allows operations to be encapsulated as objects.
-
方法概要
-
方法详细资料
-
execute
void execute()Execute the command -
undo
void undo()Undo the command
-