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