I seek clarification about the presentation on the javabeans slide.
javabeans.pdf Pg:19. Title:JavaBeans Event Model
● Event listeners register their interest of receiving
events to the event source
– Event source provides the methods for event listeners to
call for registration
// Suppose in source we have pseudo-code like this:
addListener(listener){
/* Is this how listeners register their interest to the source.
However, we do not
* get to see this due to the 'event hanling model'.
*/
registerMe(listener);
listeners.add(listener);
}
Thank you.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---