This method is called whenever an event occurs of the type for which the
EventListener interface was registered.
void handleEvent( in nsIDOMEvent event );
- The DOM
handleEvent() method on such an implementation automatically invokes the function.