The Command class is used as a base for commands that can
be executed from an event. It includes a virtual execute
method that needs to be overridden to provide the command
functionality.
Commands can be added to user events (see above) or to
specific functionality of a gadget or object.