Event handler
Translation- Event handler
In computer programming, an event handler is an asynchronous callback subroutine that handles inputs received in a program. Each "event" is a piece of application-level information from the underlying
framework , typically theGUI toolkit . GUI events include key presses, mouse movement, action selections, andtimer s expiring. On a lower level, events can represent availability of new data for reading a file or network stream. Event handlers are a central concept inevent-driven programming .The events are created by the framework based on interpreting lower-level inputs, which may be lower-level events themselves. For example, mouse movements and clicks are interpreted as menu selections. The events initially originate from actions on the operating system level, such as
interrupts generated by hardware devices, software interrupt instructions, or state changes in polling. On this level,interrupt handler s andsignal handler s correspond to event handlers.Created events are first processed by an "event dispatcher" within the framework. It typically manages the associations between events and event handlers, and may queue event handlers or events for later processing. Event dispatchers may call event handlers directly, or wait for events to be dequeued with information about the handler to be executed.
ee also
*
Callback (computer science)
*Signal handler
*Interrupt handler
*Event-driven programming
*Observer pattern (e.g. Event listener)
*DOM Events
*Virtual synchrony External links
* [http://hikwww2.fzk.de/hik/orga/verdi/rs/Dokumentation/Cpp/Cpp/ioc/tasks/t90us014.htm Write an Event Handler]
* [http://atddoc.cern.ch/Atlas/Notes/061/Note061-1.html A High Level Design of the Sub-Farm Event Handler]
* [http://www.w3.org/TR/xml-events/Overview.html#section-eventhandlers An Events Syntax for XML]
*Javadoc:SE-guide|plugin/dom/org/w3c/dom/events/Event.html|Java DOM Interface EventJavadoc documentation
*Javadoc:SE|package=javax.swing.event|javax/swing/eventJava package Javadoc API documentation
*Javadoc:SE|package=java.awt.event|java/awt/event Java package Javadoc API documentation
* [http://www.jini.org/wiki/Jini_Distributed_Events_Specification#Distributed_Events_and_Notifications Distributed Events and Notifications]
* [http://www.quirksmode.org/js/events_order.html Event order]
* [http://developer.apple.com/internet/webcontent/eventmodels.html Supporting Three Event Models at Once]
*Article " [http://doc.trolltech.com/qq/qq11-events.html Another Look at Events] " byJasmin Blanchette
*Article " [http://w3future.com/html/stories/callbacks.xml Event Handlers and Callback Functions] " bySjoerd Visscher
Wikimedia Foundation. 2010.
Look at other dictionaries:
Event-Handler — Ein Ereignis (engl. event) dient in der Softwaretechnik zur Steuerung des Programmflusses. Das Programm wird nicht linear durchlaufen, sondern es werden spezielle Ereignisbehandlungsroutinen (engl. listener, observer, event handler) immer dann… … Deutsch Wikipedia
event handler — обработчик событий (программный модуль) … Большой англо-русский и русско-английский словарь
Handler — may refer to:a person who handles something: ** animal handler, person who conducts animal training or is a wrangler (profession). ** a sports handler, a coach (sport) or sports agent of a sports player, or a promoter (entertainment) ** agent… … Wikipedia
Event (computing) — In computing an event is an action that is usually initiated outside the scope of a program and that is handled by a piece of code inside the program. Typically events are handled synchronous with the program flow, that is, the program has one or … Wikipedia
Event-driven programming — Programming paradigms Agent oriented Automata based Component based Flow based Pipelined Concatenative Concurrent computin … Wikipedia
Event loop — In computer science, the event loop, message dispatcher, message loop, message pump, or run loop is a programming construct that waits for and dispatches events or messages in a program. It works by polling some internal or external event… … Wikipedia
Event cascade — In event driven computer programs, an event cascade occurs when an event handler causes another event to occur which also triggers an event handler. This can be a tricky source of program errors (see computer bug) … Wikipedia
Chelsea Handler — Handler at LA Direct Magazine s Remember to Give Holiday Party 2008 Birth name Chelsea Joy Handler Born February 25, 1975 ( … Wikipedia
John Smeaton (baggage handler) — This article is about the baggage handler involved in the 2007 Glasgow International Airport attack. For the 18th century civil engineer, see John Smeaton .Infobox Person name = John Smeaton QGM caption = birth name = birth date = 1976 [… … Wikipedia
Interrupt handler — An interrupt handler, also known as an interrupt service routine (ISR), is a callback subroutine in an operating system or device driver whose execution is triggered by the reception of an interrupt. Interrupt handlers have a multitude of… … Wikipedia

