public class EventCellReference<T> extends CellReference<T>
Grid.
Since this class follows the Flyweight-pattern any instance of
this object is subject to change without the user knowing it and so should
not be stored anywhere outside of the method providing these instances.
| Constructor and Description |
|---|
EventCellReference(Grid<T> grid) |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.dom.client.TableCellElement |
getElement()
Get the element of the cell.
|
GridConstants.Section |
getSection()
Gets the Grid section where the referenced cell is.
|
boolean |
isBody()
Is the cell reference for a cell in the body of the Grid.
|
boolean |
isFooter()
Is the cell reference for a cell in the footer of the Grid.
|
boolean |
isHeader()
Is the cell reference for a cell in the header of the Grid.
|
void |
set(Cell targetCell,
GridConstants.Section section)
Sets the RowReference and CellReference to point to given Cell.
|
getColumn, getColumnIndex, getColumnIndexDOM, getGrid, getRow, getRowIndex, getRowReference, getValue, setpublic void set(Cell targetCell, GridConstants.Section section)
targetCell - cell to point topublic com.google.gwt.dom.client.TableCellElement getElement()
CellReferencegetElement in class CellReference<T>public boolean isHeader()
true if referenced cell is in the header,
false if notpublic boolean isBody()
true if referenced cell is in the body,
false if notpublic boolean isFooter()
true if referenced cell is in the footer,
false if notpublic GridConstants.Section getSection()
Copyright © 2018 Vaadin Ltd. All rights reserved.