com.google.gwt.widgetideas.table.client
Interface HasFixedColumnWidth

All Superinterfaces:
HasTableCells
All Known Subinterfaces:
HasAutoFitColumn, HasRowPaging
All Known Implementing Classes:
EditablePagingGrid, FixedWidthFlexTable, FixedWidthGrid, PagingGrid, SortableFixedWidthGrid

public interface HasFixedColumnWidth
extends HasTableCells

An interface for tables that manipulate columns using a fixed table width.


Method Summary
 int getColumnCount()
          Gets the number of columns in this table.
 int getColumnWidth(int column)
          Get the width of a column in pixels.
 int getDefaultColumnWidth()
          Get the default width of a column in pixels.
 void setColumnWidth(int column, int width)
          Set the width of a column in pixels.
 
Methods inherited from interface com.google.gwt.widgetideas.table.client.HasTableCells
getCellCount, getCellPadding, getCellSpacing, getEventTargetCell, setCellPadding, setCellSpacing
 

Method Detail

getColumnCount

int getColumnCount()
Gets the number of columns in this table.

Returns:
the number of columns

getColumnWidth

int getColumnWidth(int column)
Get the width of a column in pixels.

Parameters:
column - the column index
Returns:
the column width

getDefaultColumnWidth

int getDefaultColumnWidth()
Get the default width of a column in pixels.

Returns:
the default column width

setColumnWidth

void setColumnWidth(int column,
                    int width)
Set the width of a column in pixels.

Parameters:
column - the column index
width - the column width