|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zkmax.ui.impl.UiEngineExtension
public class UiEngineExtension
An implementation of UiEngineImpl.Extension
to
extend UiEngineImpl
to support stubonly and the merging of native.
It is the default extension if ZK EE is installed.
Constructor Summary | |
---|---|
UiEngineExtension()
|
Method Summary | |
---|---|
void |
afterCreate(Component[] comps)
Called after the whole component tree has been created by this engine. |
void |
afterRenderComponents(java.util.Collection comps)
Called when this engine renders the given components. |
void |
afterRenderNewPage(Page page)
Called after a new page has been redrawn ( PageCtrl.redraw(java.io.Writer)
has been called). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UiEngineExtension()
Method Detail |
---|
public void afterCreate(Component[] comps)
UiEngineImpl.Extension
The implementation might implement this method to process the components, such as merging, if necessary.
afterCreate
in interface UiEngineImpl.Extension
comps
- the components being created. It is never null but
it might be a zero-length array.public void afterRenderComponents(java.util.Collection comps)
UiEngineImpl.Extension
afterRenderComponents
in interface UiEngineImpl.Extension
comps
- the collection of components that have been redrawn.public void afterRenderNewPage(Page page)
UiEngineImpl.Extension
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.
afterRenderNewPage
in interface UiEngineImpl.Extension
UiEngineImpl.execNewPage(org.zkoss.zk.ui.Execution, org.zkoss.zk.ui.Richlet, org.zkoss.zk.ui.Page, java.io.Writer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |