The listener interface for receiving onCommand events. The class that is
interested in processing a onCommand event implements this interface, and the
object created with that class is registered with a component using the
component's addOnCommandListener method. When the onCommand
event occurs, that object's appropriate method is invoked.