Event Handling"
From Documentation
m |
RebeccaLai (talk | contribs) m |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ZKDevelopersReferencePageHeader}} | {{ZKDevelopersReferencePageHeader}} | ||
− | In this section we will discuss | + | An event (<javadoc>org.zkoss.zk.ui.event.Event</javadoc>) is used to abstract an activity made by a user, a notification made by an application, and an invocation of server push. Thus, the application can handle different kinds 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. | ||
{{ZKDevelopersReferenceHeadingToc}} | {{ZKDevelopersReferenceHeadingToc}} | ||
{{ZKDevelopersReferencePageFooter}} | {{ZKDevelopersReferencePageFooter}} |
Latest revision as of 08:50, 26 January 2024
An event (Event) is used to abstract an activity made by a user, a notification made by an application, and an invocation of server push. Thus, the application can handle different kinds 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.