public class

FlexTable.FlexCellFormatter

extends HTMLTable.CellFormatter
java.lang.Object
   ↳ com.google.gwt.user.client.ui.HTMLTable.CellFormatter
     ↳ com.google.gwt.user.client.ui.FlexTable.FlexCellFormatter

Class Overview

FlexTable-specific implementation of HTMLTable.CellFormatter. The formatter retrieved from getCellFormatter() may be cast to this class.

Summary

Public Constructors
FlexTable.FlexCellFormatter()
Public Methods
int getColSpan(int row, int column)
Gets the column span for the given cell.
int getRowSpan(int row, int column)
Gets the row span for the given cell.
void setColSpan(int row, int column, int colSpan)
Sets the column span for the given cell.
void setRowSpan(int row, int column, int rowSpan)
Sets the row span for the given cell.
[Expand]
Inherited Methods
From class com.google.gwt.user.client.ui.HTMLTable.CellFormatter
From class java.lang.Object

Public Constructors

public FlexTable.FlexCellFormatter ()

Public Methods

public int getColSpan (int row, int column)

Gets the column span for the given cell. This is the number of logical columns covered by the cell.

Parameters
row the cell's row
column the cell's column
Returns
  • the cell's column span

public int getRowSpan (int row, int column)

Gets the row span for the given cell. This is the number of logical rows covered by the cell.

Parameters
row the cell's row
column the cell's column
Returns
  • the cell's row span

public void setColSpan (int row, int column, int colSpan)

Sets the column span for the given cell. This is the number of logical columns covered by the cell.

Parameters
row the cell's row
column the cell's column
colSpan the cell's column span

public void setRowSpan (int row, int column, int rowSpan)

Sets the row span for the given cell. This is the number of logical rows covered by the cell.

Parameters
row the cell's row
column the cell's column
rowSpan the cell's row span