Example usage for com.google.gwt.gen2.table.client FixedWidthFlexTable getRowCount

List of usage examples for com.google.gwt.gen2.table.client FixedWidthFlexTable getRowCount

Introduction

In this page you can find the example usage for com.google.gwt.gen2.table.client FixedWidthFlexTable getRowCount.

Prototype

@Override
public int getRowCount() 

Source Link

Document

Gets the number of rows.

Usage

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, "");
            }/*ww  w. j  a va2s. c o m*/
        }
    }
}