The org.zkoss.zk.ui.util.UiLifeCycle interface"

From Documentation
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
  {{ZKConfigurationReferencePageHeader}}
 
  {{ZKConfigurationReferencePageHeader}}
'''Property:'''
 
org.zkoss.zk.ui.util.UiLifeCycle interface
 
  
<javadoc type="interface">org.zkoss.zk.ui.util.UiLifeCycle</javadoc> is implemented by a listener class that will be used to handle something dependin on the life cycle of UI, such as attaching a component to a page, moving a component and so on. Once registered, an instance of the specified class is created and shared within the whole application.
+
'''Listener:'''
 +
org.zkoss.zk.ui.util.UiLifeCycle
  
{{ZKConfigurationReferencePageFooter}}
+
A listener could implement <javadoc type="interface">org.zkoss.zk.ui.util.UiLifeCycle</javadoc> to handle something depending on the life cycle of UI, such as attaching a component to a page, moving a component and so on.
 +
 
 +
'''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.
 +
 
 +
{{ZKConfigurationReferencePageFooter}}

Latest revision as of 08:05, 21 April 2011


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


Listener:

org.zkoss.zk.ui.util.UiLifeCycle

A listener could implement UiLifeCycle to handle something depending on the life cycle of UI, such as attaching a component to a page, moving a component and so on.

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.