Package commands
Interface Command
-
- All Known Implementing Classes:
CmdAddShape
,CmdBringToBack
,CmdBringToFront
,CmdRemoveShape
,CmdSelectShape
,CmdToBack
,CmdToFront
,CmdUpdateCircle
,CmdUpdateHexagon
,CmdUpdateLine
,CmdUpdatePoint
,CmdUpdateRectangle
,CmdUpdateSquare
public interface Command
Represent inferface for all commands in the application.
Define two methods:execute()
- Execute some command.unexecute()
- Undo some command.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
execute()
void
unexecute()
-