List of usage examples for com.google.gwt.gen2.table.client FixedWidthFlexTable setText
@Override
public void setText(int row, int column, String text)
From source file:com.google.gwt.gen2.demo.scrolltable.client.ScrollTableDemo.java
License:Apache License
/** * @return the new footer table// www . j av a 2 s . co m */ private FixedWidthFlexTable createFooterTable() { FixedWidthFlexTable footerTable = new FixedWidthFlexTable(); footerTable.setHTML(0, 0, " "); for (int i = 0; i < 12; i++) { footerTable.setText(0, i + 1, "Col " + i); } return footerTable; }
From source file:edu.caltech.ipac.firefly.ui.table.BasicPagingTable.java
protected void clearTable(FixedWidthFlexTable table, int numCols) { if (numCols < table.getColumnCount()) { for (int c = numCols - 1; c < table.getColumnCount(); c++) { for (int r = 0; r < table.getRowCount(); r++) { table.setText(r, c, ""); }/*from w w w . j av a 2 s. c o m*/ } } }