answersLogoWhite

0


Best Answer

Event model is based on the concept of an 'Event Source' and 'Event Listeners'. Any object that is interested in receiving messages (or events ) is called an Event Listener. Any object that generates these messages ( or events ) is called an Event Source

Event Delegation Model is based on four concepts:

The Event Classes

The Event Listeners

Explicit Event Enabling

Adapters

The modern approach to handling events is based on the delegation event model, which defines standard and consistent mechanisms to generate and process events. Its concept is quite simple: a source generates an event and sends it to one or more listeners. In this scheme, the listener simply waits until it receives an event. Once received, the listener processes the event and then returns. The advantage of this design is that the application logic that processes events is cleanly separated from the user interface logic that generates those events. A user interface element is able to "delegate" the processing of an event to a separate piece of code.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is a delegation event model in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Which highest level event class of the event delegation model?

The java.util.EventObject class is the heighest-level class in the event-delegation model class hierarchy.


How to use MVC in Swing Application?

MVC stands for Model View & Controller. In Swings you can use this as follows: Model - Java Beans View - JFrames & JPanels Controller - Event Handlers


What are the advantages and disadvantages event handler to event properties?

what are the advantages and dis advantages of event handling in java


What is java utility?

Java.util package contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes.


A representation of an object or event?

A representation of an object or event is a model.


Why is itemstatechanged method called thrice on changing an item in java swings?

http://docs.oracle.com/javase/7/docs/api/java/awt/event/ItemListener.html#itemStateChanged%28java.awt.event.ItemEvent%29 "http://docs.oracle.com/javase/7/docs/api/java/awt/event/ItemListener.html#itemStateChanged%28java.awt.event.ItemEvent%29"


What is A delegation of authority?

A delegation of authority:


Which classes are used in java to create client server model?

we use sockets for client server model..


Is Variable declaration in event handlers begin with keyboard declar?

No. There is no such keyword as declar in Java.


Definition of event handling in java?

When an application or a program keeps on monitoring and quickly responds to any action that occurs at the GUI interface ,like mouse movement, selecting an item in a list or entering a keyboard input and so on then such a scenario is termed as event handling. In java the events from the event sources are captured and they are sent to event listeners for respective actions to be taken.


Ics 200 delegation of authority?

a delegation of authority:


A delegation of authority nims 200?

a delegation of authority