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