com.gwtext.client.widgets.layout.TableLayout
com.extjs.gxt.ui.client.widget.layout.TableLayout
12951296129712981299130013011302130313041305130613071308
" add(button);", " }", " }", "}"); panel.refresh(); TableLayoutInfo layout = (TableLayoutInfo) panel.getLayout(); // WidgetInfo newButton = createButton(); layout.command_CREATE(newButton, 0, true, 0, true); assertEditor( "public class Test extends LayoutContainer {", " public Test() {", " setLayout(new TableLayout(2));", " {",
13421343134413451346134713481349135013511352135313541355
" add(button);", " }", " }", "}"); panel.refresh(); TableLayoutInfo layout = (TableLayoutInfo) panel.getLayout(); // WidgetInfo newButton = createButton(); layout.command_CREATE(newButton, 0, false, 2, false); assertEditor( "public class Test extends LayoutContainer {", " public Test() {", " setLayout(new TableLayout(1));", " {",
13761377137813791380138113821383138413851386138713881389
" add(button);", " }", " }", "}"); panel.refresh(); TableLayoutInfo layout = (TableLayoutInfo) panel.getLayout(); // WidgetInfo newButton = createButton(); layout.command_CREATE(newButton, 2, false, 0, false); assertEditor( "public class Test extends LayoutContainer {", " public Test() {", " setLayout(new TableLayout(3));", " {",
14101411141214131414141514161417141814191420142114221423
" add(button);", " }", " }", "}"); panel.refresh(); TableLayoutInfo layout = (TableLayoutInfo) panel.getLayout(); // WidgetInfo newButton = createButton(); layout.command_CREATE(newButton, 1, false, 1, false); assertEditor( "public class Test extends LayoutContainer {", " public Test() {", " setLayout(new TableLayout(2));", " {",
14551456145714581459146014611462146314641465146614671468
" add(button);", " }", " }", "}"); panel.refresh(); TableLayoutInfo layout = (TableLayoutInfo) panel.getLayout(); // WidgetInfo newButton = createButton(); layout.command_CREATE(newButton, 1, true, 1, false); assertEditor( "public class Test extends LayoutContainer {", " public Test() {", " setLayout(new TableLayout(3));", " {",
15081509151015111512151315141515151615171518151915201521
" add(button);", " }", " }", "}"); panel.refresh(); TableLayoutInfo layout = (TableLayoutInfo) panel.getLayout(); // WidgetInfo newButton = createButton(); layout.command_CREATE(newButton, 1, false, 1, true); assertEditor( "public class Test extends LayoutContainer {", " public Test() {", " setLayout(new TableLayout(2));", " {",
15531554155515561557155815591560156115621563156415651566
" add(new Text());", " add(new Text());", " }", "}"); panel.refresh(); TableLayoutInfo layout = (TableLayoutInfo) panel.getLayout(); // WidgetInfo newButton = createButton(); layout.command_CREATE(newButton, 1, false, 1, false); assertEditor( "public class Test extends LayoutContainer {", " public Test() {", " setLayout(new TableLayout(2));", " add(new Text());",
15811582158315841585158615871588158915901591159215931594
" public Test() {", " setLayout(new TableLayout(1));", " }", "}"); panel.refresh(); TableLayoutInfo layout = (TableLayoutInfo) panel.getLayout(); // WidgetInfo newButton = createButton(); layout.command_CREATE(newButton, 0, false, 0, false); assertEditor( "public class Test extends LayoutContainer {", " public Test() {", " setLayout(new TableLayout(1));", " {",
16061607160816091610161116121613161416151616161716181619
" public Test() {", " setLayout(new TableLayout(1));", " }", "}"); panel.refresh(); TableLayoutInfo layout = (TableLayoutInfo) panel.getLayout(); // WidgetInfo newButton = createButton(); layout.command_CREATE(newButton, 1, false, 1, false); assertEditor( "public class Test extends LayoutContainer {", " public Test() {", " setLayout(new TableLayout(2));", " add(new Text());",
1651165216531654165516561657165816591660166116621663
" add(label_3);", " }", " }", "}"); panel.refresh(); TableLayoutInfo layout = (TableLayoutInfo) panel.getLayout(); // List<ColumnInfo> columns = layout.getColumns(); assertThat(columns).hasSize(2); { ColumnInfo column = columns.get(0); assertEquals(0, column.getIndex()); assertFalse(column.isEmpty());