The org.zkoss.zk.ui.util.EventInterceptor interface"
From Documentation
m |
|||
Line 1: | Line 1: | ||
{{ZKConfigurationReferencePageHeader}} | {{ZKConfigurationReferencePageHeader}} | ||
− | |||
− | |||
− | <javadoc type="interface">org.zkoss.zk.ui.util.EventInterceptor</javadoc> | + | '''Listener:''' |
+ | org.zkoss.zk.ui.util.EventInterceptor | ||
+ | |||
+ | A listener could implement <javadoc type="interface">org.zkoss.zk.ui.util.EventInterceptor</javadoc> 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 <javadoc method="addListener(java.lang.Object)">org.zkoss.zk.ui.Desktop</javadoc>. | Once registered, an instance is created and shared within the whole application. If you want to intercept events only for a particular desktop, use <javadoc method="addListener(java.lang.Object)">org.zkoss.zk.ui.Desktop</javadoc>. | ||
{{ZKConfigurationReferencePageFooter}} | {{ZKConfigurationReferencePageFooter}} |
Revision as of 06:13, 20 April 2011
Listener:
org.zkoss.zk.ui.util.EventInterceptor
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).