Example usage for com.google.gwt.gen2.table.client DefaultCellRenderer DefaultCellRenderer

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

Introduction

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

Prototype

public DefaultCellRenderer(boolean asHtml) 

Source Link

Document

Construct a new DefaultCellRenderer .

Usage

From source file:edu.caltech.ipac.firefly.ui.table.ColDef.java

public ColDef(TableDataView.Column column) {
    this.column = column;
    setMinimumColumnWidth(25);//from   www . j  a va2  s . c  o m
    setPreferredColumnWidth(column.getPrefWidth() * 8 + 15);
    setColumnSortable(column.isSortable());
    setCellRenderer(new DefaultCellRenderer<TableData.Row, String>(true));
}