public static class Grid.CellReference extends Object implements Serializable
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 |
---|
CellReference(Grid.RowReference rowReference) |
Modifier and Type | Method and Description |
---|---|
Grid |
getGrid()
Gets the grid that contains the referenced cell.
|
Item |
getItem()
Gets the item for the row of the cell.
|
Object |
getItemId()
Gets the item id of the row of the cell.
|
Property<?> |
getProperty() |
Object |
getPropertyId() |
Object |
getValue()
Gets the value of the cell.
|
void |
set(Object propertyId)
Sets the identifying information for this cell
|
public CellReference(Grid.RowReference rowReference)
public void set(Object propertyId)
propertyId
- the property id of the columnpublic Grid getGrid()
public Object getPropertyId()
public Property<?> getProperty()
public Object getItemId()
public Item getItem()
public Object getValue()
Copyright © 2019 Vaadin Ltd. All rights reserved.