/** * Array of all Canvii that are immediate children of this Canvas. <p><b>Note : </b> This is an advanced * setting</p> * * @param children children Default value is null */ public void setChildren(Canvas... children) { if(!isDrawn()) { setAttribute("children", children, false); } else { for (int i = 0; i < children.length; i++) { Canvas child = children[i]; addChild(child); } } }