|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.zkoss.zk.ui.impl.MultiComposer
public class MultiComposer
To proxy a collection of composer
Constructor Summary | |
---|---|
protected |
MultiComposer(Composer[] cs)
The constructor. |
Method Summary | |
---|---|
void |
doAfterCompose(Component comp)
Invokes after ZK loader creates this component, initializes it and composes all its children, if any. |
ComponentInfo |
doBeforeCompose(Page page,
Component parent,
ComponentInfo compInfo)
|
void |
doBeforeComposeChildren(Component comp)
|
boolean |
doCatch(java.lang.Throwable ex)
|
void |
doFinally()
|
static Composer |
getComposer(Page page,
java.lang.Object[] ary)
Returns an instance of composer to represent the specified array of composers, or null if no composer is specified. |
boolean |
isFullComposerOnly()
Returns whether to invoke only the composer that implements FullComposer . |
boolean |
setFullComposerOnly(boolean fullOnly)
Sets whether to invoke only the composer that implements FullComposer . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected MultiComposer(Composer[] cs) throws java.lang.Exception
getComposer(org.zkoss.zk.ui.Page, java.lang.Object[])
.
Use getComposer(org.zkoss.zk.ui.Page, java.lang.Object[])
instead.
cs
- the array of composer instances.
java.lang.Exception
Method Detail |
---|
public static Composer getComposer(Page page, java.lang.Object[] ary) throws java.lang.Exception
page
- used to resolve the class if ary contains a class name.
Ignored if null.ary
- an array of Composer instances, or the name of the class,
or the class that implements Composer
.
java.lang.Exception
public boolean setFullComposerOnly(boolean fullOnly)
FullComposer
.
Default: false
public boolean isFullComposerOnly()
FullComposer
.
public void doAfterCompose(Component comp) throws java.lang.Exception
Composer
doAfterCompose
in interface Composer
comp
- the component has been composed
java.lang.Exception
public ComponentInfo doBeforeCompose(Page page, Component parent, ComponentInfo compInfo) throws java.lang.Exception
java.lang.Exception
public void doBeforeComposeChildren(Component comp) throws java.lang.Exception
java.lang.Exception
public boolean doCatch(java.lang.Throwable ex) throws java.lang.Exception
java.lang.Exception
public void doFinally() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |