com.gwtext.client.widgets.layout.TableLayout
com.extjs.gxt.ui.client.widget.layout.TableLayout
21312132213321342135213621372138213921402141214221432144214521462147
" add(button);", " }", " }", "}"); panel.refresh(); TableLayoutInfo layout = (TableLayoutInfo) panel.getLayout(); // try { layout.startEdit(); layout.command_MOVE_ROW(1, 0); } finally { layout.endEdit(); } assertEditor( "public class Test extends LayoutContainer {", " public Test() {", " setLayout(new TableLayout(2));",
21762177217821792180218121822183218421852186218721882189219021912192
" add(button);", " }", " }", "}"); panel.refresh(); TableLayoutInfo layout = (TableLayoutInfo) panel.getLayout(); // try { layout.startEdit(); layout.command_MOVE_ROW(0, 2); } finally { layout.endEdit(); } assertEditor( "public class Test extends LayoutContainer {", " public Test() {", " setLayout(new TableLayout(2));",
2226222722282229223022312232223322342235223622372238
" add(button, tableData);", " }", " }", "}"); panel.refresh(); TableLayoutInfo layout = (TableLayoutInfo) panel.getLayout(); // layout.command_normalizeSpanning(); assertEditor( "public class Test extends LayoutContainer {", " public Test() {", " setLayout(new TableLayout(1));", " {",
2260226122622263226422652266226722682269227022712272
2299230023012302230323042305230623072308230923102311
" add(button);", " }", " }", "}"); panel.refresh(); TableLayoutInfo layout = (TableLayoutInfo) panel.getLayout(); // layout.command_normalizeSpanning(); assertEditor( "public class Test extends LayoutContainer {", " public Test() {", " setLayout(new TableLayout(2));", " {",
234823492350235123522353235423552356235723582359
"}"); panel.refresh(); // ExecutionUtils.run(panel, new RunnableEx() { public void run() throws Exception { TableLayoutInfo layout = (TableLayoutInfo) panel.getLayout(); layout.command_normalizeSpanning(); } }); assertEditor( "public class Test extends LayoutContainer {", " public Test() {",
23952396239723982399240024012402240324042405240624072408
" add(button);", " }", " }", "}"); panel.refresh(); TableLayoutInfo layout = (TableLayoutInfo) panel.getLayout(); WidgetInfo button = panel.getWidgets().get(2); // layout.command_MOVE(button, 1, false, 0, false); assertEditor( "public class Test extends LayoutContainer {", " public Test() {", " setLayout(new TableLayout(2));", " {",
24782479248024812482248324842485248624872488248924902491
" add(button);", " }", " }", "}"); panel.refresh(); TableLayoutInfo layout = (TableLayoutInfo) panel.getLayout(); WidgetInfo button = panel.getWidgets().get(7); // layout.command_MOVE(button, 1, false, 0, false); assertEditor( "public class Test extends LayoutContainer {", " public Test() {", " setLayout(new TableLayout(2));", " add(new Text());",
25132514251525162517251825192520252125222523252425252526
" add(button);", " }", " }", "}"); panel.refresh(); TableLayoutInfo layout = (TableLayoutInfo) panel.getLayout(); WidgetInfo button = panel.getWidgets().get(5); // layout.command_MOVE(button, 0, false, 0, false); assertEditor( "public class Test extends LayoutContainer {", " public Test() {", " setLayout(new TableLayout(1));", " {",
25512552255325542555255625572558255925602561256225632564
" add(composite);", " }", " }", "}"); panel.refresh(); TableLayoutInfo layout = (TableLayoutInfo) panel.getLayout(); WidgetInfo button = getJavaInfoByName("button"); // layout.command_ADD(button, 0, false, 1, false); assertEditor( "public class Test extends LayoutContainer {", " public Test() {", " setLayout(new TableLayout(1));", " {",