Example usage for com.google.gwt.widgetideas.table.client.overrides HTMLTable setWidget

List of usage examples for com.google.gwt.widgetideas.table.client.overrides HTMLTable setWidget

Introduction

In this page you can find the example usage for com.google.gwt.widgetideas.table.client.overrides HTMLTable setWidget.

Prototype

public void setWidget(int row, int column, Widget widget) 

Source Link

Document

Sets the widget within the specified cell.

Usage

From source file:com.google.gwt.demos.bulkloadingtable.client.BulkLoadingTableDemo.java

License:Apache License

private void finishTable(final HTMLTable table, final long milli) {

    // In order to compare apples-to-apples for rendering time letting event cue
    // flush once.

    curTable = table;//from w  ww.  jav a  2  s  . c  o  m
    table.setBorderWidth(2);
    panel.add(table);

    table.setWidget(0, 3, new Button("A widget"));
    log("Finished in " + (System.currentTimeMillis() - milli) + " milliseconds");
}