Like Us

Showing posts with label Event Delegation Model. Show all posts
Showing posts with label Event Delegation Model. Show all posts

Monday, 17 September 2012

Java Event Delegation Model


Java Event Delegation Model : Example using Core Java.


Event Delegation model is just a mechanism of broadcasting an event.

There are basically 3 entities involved in event delegation model.
  • Event - It is an element which describes the event.
  • Event source - It is an element which generates the event and sends it to the listener.
  • Event listener  - It is an element which receives the event sent by the source and executes a specific functionality with respective to the event.