private int evalDeficit(UIContainer container, XMLLump lump) { int deficit = 0; UIComponent[] children = container.flatChildren(); doneprefix.clear(); for (int i = 0; i < children.length; ++i) {
private void resolveRecurse(UIContainer basecontainer, XMLLump parentlump) { UIComponent[] flatchildren = basecontainer.flatChildren(); for (int i = 0; i < flatchildren.length; ++i) { if (flatchildren[i] instanceof UIContainer) {
public String debugChildren() { CharWrap togo = new CharWrap(); togo.append("Child IDs: ("); UIComponent[] children = flatChildren(); for (int i = 0; i < children.length; ++i) { if (i != 0) { togo.append(", "); } togo.append(children[i].ID); } togo.append(")"); return togo.toString(); }
UIComponent[] flatchildren = basecontainer.flatChildren(); for (int i = 0; i < flatchildren.length; ++i) { UIComponent child = flatchildren[i];