Graphic Rendering System 1.0
A Java-based graphic rendering system implementing various design patterns
|
Public Member Functions | |
void | execute () |
void | undo () |
Command interface for implementing the Command pattern. This allows operations to be encapsulated as objects.
Definition at line 7 of file Command.java.
void com.example.graphics.command.Command.execute | ( | ) |
Execute the command
Implemented in com.example.graphics.command.AddShapeCommand, com.example.graphics.command.MoveShapeCommand, and com.example.graphics.command.RemoveShapeCommand.
void com.example.graphics.command.Command.undo | ( | ) |
Undo the command
Implemented in com.example.graphics.command.AddShapeCommand, com.example.graphics.command.MoveShapeCommand, and com.example.graphics.command.RemoveShapeCommand.