类 AddShapeCommand
java.lang.Object
com.example.graphics.command.AddShapeCommand
- 所有已实现的接口:
Command
Command for adding a shape to a collection.
This is an implementation of the Command pattern.
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
-
字段详细资料
-
shapes
-
shape
-
-
构造器详细资料
-
AddShapeCommand
Constructor for the AddShapeCommand- 参数:
shapes
- the collection of shapes to modifyshape
- the shape to add
-
-
方法详细资料