Event Handling"
From Documentation
m |
|||
Line 1: | Line 1: | ||
{{ZKDevelopersReferencePageHeader}} | {{ZKDevelopersReferencePageHeader}} | ||
− | An event (<javadoc>org.zkoss.zk.event.Event</javadoc>) is used to abstract an activity made by user, a notification made by an application, and an invocation of server push. Thus, the application can handle different kind of notifications and sources with a universal mechanism. By and large, developers can even use the same approach to handle, say, message queues. | + | An event (<javadoc>org.zkoss.zk.ui.event.Event</javadoc>) is used to abstract an activity made by user, a notification made by an application, and an invocation of server push. Thus, the application can handle different kind of notifications and sources with a universal mechanism. By and large, developers can even use the same approach to handle, say, message queues. |
In this section we will discuss how to handle events, such as listening, posting and forwarding. | In this section we will discuss how to handle events, such as listening, posting and forwarding. |
Revision as of 05:47, 29 March 2017
An event (Event) is used to abstract an activity made by user, a notification made by an application, and an invocation of server push. Thus, the application can handle different kind of notifications and sources with a universal mechanism. By and large, developers can even use the same approach to handle, say, message queues.
In this section we will discuss how to handle events, such as listening, posting and forwarding.