Class Cell
- java.lang.Object
-
- com.vaadin.client.widget.escalator.Cell
-
public class Cell extends Object
Describes a cellIt's a representation of the element in a grid cell, and its row and column indices.
Unlike the
FlyweightRow
, an instance ofCell
can be stored in a field.- Since:
- 7.4
- Author:
- Vaadin Ltd
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumn()
Returns the index of the column the cell resides in.com.google.gwt.dom.client.TableCellElement
getElement()
Returns the element of the cell.int
getRow()
Returns the index of the row the cell resides in.
-
-
-
Constructor Detail
-
Cell
public Cell(int row, int column, com.google.gwt.dom.client.TableCellElement element)
Constructs a newCell
.- Parameters:
row
- The index of the rowcolumn
- The index of the columnelement
- The cell element
-
-
Method Detail
-
getRow
public int getRow()
Returns the index of the row the cell resides in.- Returns:
- the row index
-
getColumn
public int getColumn()
Returns the index of the column the cell resides in.- Returns:
- the column index
-
getElement
public com.google.gwt.dom.client.TableCellElement getElement()
Returns the element of the cell.- Returns:
- the cell element
-
-