We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.client.widget.escalator.
Class Cell
- java.lang.Object
-
- com.vaadin.client.widget.escalator.Cell
-
public class Cell extends Object
Describes a cell
It'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 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 new
Cell
.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
-
-