The org.zkoss.zk.ui.util.EventInterceptor interface

From Documentation
Revision as of 07:54, 21 April 2011 by Tomyeh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

DocumentationZK Configuration Referencezk.xmlThe listener ElementThe org.zkoss.zk.ui.util.EventInterceptor interface
The org.zkoss.zk.ui.util.EventInterceptor interface



A listener could implement EventInterceptor to intercept when an event is sent, posted and processed.

Once registered, an instance is created and shared within the whole application. If you want to intercept events only for a particular desktop, use Desktop.addListener(Object).

Instantiation: For better performance, a single instance of the given class is instantiated when registered. It is then shared in the whole application. Thus, the implementation must be thread safe.

Last Update : 2011/04/21

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.