Package commands
Class CmdSelectShape
- java.lang.Object
-
- commands.CmdSelectShape
-
-
Field Summary
Fields Modifier and Type Field Description private booleanselectedStateprivate Shapeshape
-
Constructor Summary
Constructors Constructor Description CmdSelectShape(Shape shape, boolean selectedState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()Set shape selected state to true or false.voidunexecute()Undo previous selection/unselection.
-