Total members 11894 |It is currently Fri Nov 22, 2024 3:18 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





What is the advantage of the event-delegation model over the earlier event-inheritance model?




Author:
Proficient
User avatar Posts: 280
Have thanks: 1 time

The event-delegation model has two advantages over the event-inheritance model. First, it enables event handling to be handled by objects other than the ones that generate the events (or their containers). This allows a clean separation between a component's design and its use. The other advantage of the event-delegation model is that it performs much better in applications where many events are generated. This performance improvement is due to the fact that the event-delegation model does not have to repeatedly process unhandled events, as is the case of the event-inheritance
model.

_________________
Please recommend my post if you found it helpful


Author:
Proficient
User avatar Posts: 228
Have thanks: 0 time
Post new topic Reply to topic  [ 2 posts ] 

  Related Posts  to : advantage of the event delegation model over event-inherit
 relationship an event-listener interface & event handler     -  
 What is Event Handling?     -  
 AWT event hierarchy     -  
 Event Handling Notes     -  
 Thread of Event Dispatcher     -  
 ComponentListener event handling     -  
 Container Event handling with ContainerListener     -  
 event results from the clicking of a button     -  
 explain event handling in java     -  
 Handle Key event-keyboard-Get typed Character and its code     -  



cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com