What is the advantage of the event-delegation model over the earlier eventinheritancemodel

The event-delegation model has two advantages over the event-inheritance model. First,it enables eventhandling to be handled by objects other than the ones that generate the events (or theircontainers). Thisallows a clean separation between a component's design and its use. The other advantageof the eventdelegationmodel is that it performs much better in applications where many events aregenerated. Thisperformance improvement is due to the fact that the event-delegation model does nothave to repeatedlyprocess unhandled events, as is the case of the event-inheritance model.

 

This Question is not yet answered!

 
 

Related Answered Questions

 

Related Open Questions