Package commands
Class CmdUpdateRectangle
- java.lang.Object
-
- commands.CmdUpdateRectangle
-
-
Constructor Summary
Constructors Constructor Description CmdUpdateRectangle(Rectangle oldState, Rectangle newState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
Update rectangle.void
unexecute()
Undo previous updating and return rectangle to the original values.
-