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