Package commands
Interface Command
-
- All Known Implementing Classes:
CmdAddShape,CmdBringToBack,CmdBringToFront,CmdRemoveShape,CmdSelectShape,CmdToBack,CmdToFront,CmdUpdateCircle,CmdUpdateHexagon,CmdUpdateLine,CmdUpdatePoint,CmdUpdateRectangle,CmdUpdateSquare
public interface CommandRepresent 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 voidexecute()voidunexecute()
-