public class FlexTable.FlexCellFormatter extends HTMLTable.CellFormatter
HTMLTable.CellFormatter
. The
formatter retrieved from HTMLTable.getCellFormatter()
may be cast
to this class.Constructor and Description |
---|
FlexCellFormatter() |
Modifier and Type | Method and Description |
---|---|
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.
|
addStyleName, ensureElement, getAttr, getElement, getStyleName, getStylePrimaryName, isVisible, removeStyleName, setAlignment, setAttr, setHeight, setHorizontalAlignment, setStyleName, setStylePrimaryName, setVerticalAlignment, setVisible, setWidth, setWordWrap
public int getColSpan(int row, int column)
row
- the cell's rowcolumn
- the cell's columnjava.lang.IndexOutOfBoundsException
public int getRowSpan(int row, int column)
row
- the cell's rowcolumn
- the cell's columnjava.lang.IndexOutOfBoundsException
public void setColSpan(int row, int column, int colSpan)
row
- the cell's rowcolumn
- the cell's columncolSpan
- the cell's column spanjava.lang.IndexOutOfBoundsException
public void setRowSpan(int row, int column, int rowSpan)
row
- the cell's rowcolumn
- the cell's columnrowSpan
- the cell's row spanjava.lang.IndexOutOfBoundsException