org.zkoss.zk.ui.ext.render
Interface Merger

All Known Implementing Classes:
HtmlNativeComponent.ExtraCtrl

public interface Merger

Implemented by the object returned by ComponentCtrl.getExtraCtrl() to indicate a component is capable to merge with its sibling and children.

Since:
5.0.4
Author:
tomyeh

Method Summary
 Component mergeChildren()
          Merges the children into one component, if possible.
 Component mergeNextSibling()
          Merges the next sibling into one component, if possible.
 

Method Detail

mergeNextSibling

Component mergeNextSibling()
Merges the next sibling into one component, if possible.

Returns:
the component after merged, or null if it is not able to merge the next sibling.

mergeChildren

Component mergeChildren()
Merges the children into one component, if possible.

Notice that mergeNextSibling() is called first to merge all adjancent siblings if possible, and then mergeChildren() is called to merge parent and children.

Returns:
the component after merged, or null if it is not able to merge the children.


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