|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.client.widget.grid.CellReference<T>
com.vaadin.client.widget.grid.EventCellReference<T>
public class EventCellReference<T>
A data class which contains information which identifies a cell being the
target of an event from 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 Summary | |
|---|---|
EventCellReference(Grid<T> grid)
|
|
| Method Summary | |
|---|---|
TableCellElement |
getElement()
Get the element of the cell. |
com.vaadin.shared.ui.grid.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,
com.vaadin.shared.ui.grid.GridConstants.Section section)
Sets the RowReference and CellReference to point to given Cell. |
| Methods inherited from class com.vaadin.client.widget.grid.CellReference |
|---|
getColumn, getColumnIndex, getColumnIndexDOM, getGrid, getRow, getRowIndex, getRowReference, getValue, set |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventCellReference(Grid<T> grid)
| Method Detail |
|---|
public void set(Cell targetCell,
com.vaadin.shared.ui.grid.GridConstants.Section section)
targetCell - cell to point topublic TableCellElement getElement()
CellReference
getElement in class CellReference<T>public boolean isHeader()
true if referenced cell is in the header,
false if not- Since:
- 7.5
public boolean isBody()
true if referenced cell is in the body,
false if not- Since:
- 7.5
public boolean isFooter()
true if referenced cell is in the footer,
false if not- Since:
- 7.5
public com.vaadin.shared.ui.grid.GridConstants.Section getSection()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||