Package org.zkoss.stateless.sul
Interface IComposite<R,I extends IComponent>
-
- All Known Subinterfaces:
IBorderlayout,IGrid,IGroupbox<I>,IListbox,IOrgitem,IPanel,IRow<I>,ITabbox,ITree,ITreeitem,IWindow<I>
public interface IComposite<R,I extends IComponent>An addition interface toIChildableandISingleChildableto retrieve allIComponents which belong to the implementation class. that is used for implementation or tools.- Author:
- jumperchen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RwithAllComponents(java.lang.Iterable<? extends I> elements)Copy the current immutable object with elements that replace the content ofchildren.
-
-
-
Method Detail
-
withAllComponents
R withAllComponents(java.lang.Iterable<? extends I> elements)
Copy the current immutable object with elements that replace the content ofchildren. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of children elements to set- Returns:
- A modified copy of
thisobject
-
-