public void formGroupContextsDisplayLeftEnter(PrintWriter out) { if (inFormGroupContext()) { utils.FormGroupContext temp = getFormGroupContext(); if (!temp.isInColumnContext()) { temp.enterColumnContext(); out.print("<div style=\"clear:left; float:left; width: " + formGroupLeftSize + "px\">"); formGroupContextClosingTags.push("left"); temp.toRightContext(); } else { formGroupContextClosingTags.push("none"); } } }
public void formGroupContextsDisplayRightEnter(PrintWriter out) { if (inFormGroupContext()) { utils.FormGroupContext temp = getFormGroupContext(); if (!temp.isInColumnContext()) { temp.enterColumnContext(); out.print("<div style=\"float: left;\">"); formGroupContextClosingTags.push("right"); temp.toLeftContext(); } else { formGroupContextClosingTags.push("none"); } } }
public void formGroupContextsCheckEnter(PrintWriter out) { if (inFormGroupContext()) { utils.FormGroupContext temp = getFormGroupContext(); if (!temp.isInDoubleColumnContext()) { // ignore defaults when in scope of a double column if (!temp.isInColumnContext()) { // don't nest left and right temp.enterColumnContext(); if (temp.isInLeftContext()) { out.print("<div style=\"clear:left; float:left; width: " + formGroupLeftSize + "px\">"); formGroupContextClosingTags.push("left"); temp.toRightContext(); } else { out.print("<div style=\"float: left;\">"); formGroupContextClosingTags.push("right"); temp.toLeftContext(); } } else { formGroupContextClosingTags.push("none"); } } } }