grid.table.getFlexCellFormatter().setRowSpan(row, col, rows); rowspan = rows;
cf.setRowSpan(row, col, rs); cf.setColSpan(row, col, ncs); table.getFlexCellFormatter().setRowSpan(row, i, rowspan); } else { table.setWidget(row, i, h);
table.getFlexCellFormatter().setRowSpan(1, 3, 2); final DecoratedTabPanel optpanel = new DecoratedTabPanel(); optpanel.add(makeAxesPanel(), "Axes");
rCellFormatter.setRowSpan(nCenter, nIndex, nMaxWidgets);
/*************************************** * Sets the number of rows that the last component added to this layout's * container will span. This grid layout must belong to the given container * or else the result will be undefined. This method must be invoked * directly after the component that shall span the rows had been added. * * @param rContainer The container to join the rows in * @param nCount The number of rows to join */ public void joinRows(Container rContainer, int nCount) { FlexTable rTable = (FlexTable) rContainer.getWidget(); CellAddress rCell = getCell(rTable, false); rTable.getFlexCellFormatter() .setRowSpan(rCell.nRow, rCell.nCol, nCount); }