5. Event Listening and Processing

Table of Contents

Add Event Listeners by Markup Languages
Add and Remove Event Listeners by Program
Declare a Member
Add and Remove Event Listeners Dynamically
Deferrable Event Listeners
Add and Remove Event Listeners to Pages Dynamically
The Invocation Sequence
Abort the Invocation Sequence
Send, Post and Echo Events from an Event Listener
Post Events
Send Events
Echo Events
Thread Model
Suspend and Resume
Long Operations
Initialization and Cleanup of Event Processing Thread
Initialization Before Processing Each Event
Cleanup After Processed Each Event

This chapter describes how an event is processed.