Event Handling"
From Documentation
m |
RebeccaLai (talk | contribs) m |
||
Line 1: | Line 1: | ||
{{ZKDevelopersReferencePageHeader}} | {{ZKDevelopersReferencePageHeader}} | ||
− | 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 | + | 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. | In this section we will discuss how to handle events, such as listening, posting and forwarding. |
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.