org.zkoss.zk.ui.util
Interface InitiatorExt

All Known Implementing Classes:
AnnotateDataBinderInit, Composition

public interface InitiatorExt

An extra interface that can be implemented with Initiator to have the better control.

Since:
3.0.0
Author:
tomyeh
See Also:
Initiator

Method Summary
 void doAfterCompose(Page page, Component[] comps)
          Called after all components are created (aka., composed), and before any event is processed.
 

Method Detail

doAfterCompose

void doAfterCompose(Page page,
                    Component[] comps)
                    throws java.lang.Exception
Called after all components are created (aka., composed), and before any event is processed.

Note: if this interface is implemented with Initiator, Initiator.doAfterCompose(org.zkoss.zk.ui.Page) won't be called. Rather, this method is called.

It won't be called if an un-caught exception occurs when creating components.

Parameters:
page - the page that new components are attached to. It is the same as Initiator.doInit(org.zkoss.zk.ui.Page, java.util.Map)'s page argument.
comps - the root components being created (never null, but the length might be zero). Note: It is not necessary the same as Page.getRoots(), since this method might be called thru Executions.createComponents(java.lang.String, org.zkoss.zk.ui.Component, java.util.Map).
Throws:
java.lang.Exception
Since:
3.0.0


Copyright © 2005-2009 Potix Corporation. All Rights Reserved. SourceForge.net Logo