Package org.zkoss.zk.ui.impl
Class UiEngineExtension
java.lang.Object
org.zkoss.zk.ui.impl.UiEngineExtension
- All Implemented Interfaces:
UiEngineImpl.Extension
An implementation of
UiEngineImpl.Extension to
extend UiEngineImpl to support stubonly and the merging of native. *- Since:
- 5.0.8
- Author:
- tomyeh
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterCreate(Component[] comps) Called after the whole component tree has been created by this engine.voidafterRenderComponents(Collection comps) Called when this engine renders the given components.voidafterRenderNewPage(Page page) Called after a new page has been redrawn (PageCtrl.redraw(java.io.Writer)has been called).
-
Constructor Details
-
UiEngineExtension
public UiEngineExtension()
-
-
Method Details
-
afterCreate
Description copied from interface:UiEngineImpl.ExtensionCalled after the whole component tree has been created by this engine.The implementation might implement this method to process the components, such as merging, if necessary.
- Specified by:
afterCreatein interfaceUiEngineImpl.Extension- Parameters:
comps- the components being created. It is never null but it might be a zero-length array.
-
afterRenderComponents
Description copied from interface:UiEngineImpl.ExtensionCalled when this engine renders the given components. It is designed to be overridden if you'd like to alter the component and its children after they are rendered.- Specified by:
afterRenderComponentsin interfaceUiEngineImpl.Extension- Parameters:
comps- the collection of components that have been redrawn.
-
afterRenderNewPage
Description copied from interface:UiEngineImpl.ExtensionCalled after a new page has been redrawn (PageCtrl.redraw(java.io.Writer)has been called).Notice that it is called in the rendering phase (the last phase), so it is not allowed to post events or to invoke invalidate or smartUpdate in this method.
Notice that it is not called if an old page is redrawn.
The implementation shall process the components such as merging if necessary.
- Specified by:
afterRenderNewPagein interfaceUiEngineImpl.Extension- See Also:
-