public static class Grid.RowReference 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 |
|---|
RowReference(Grid grid)
Creates a new row reference for the given grid.
|
| Modifier and Type | Method and Description |
|---|---|
Grid |
getGrid()
Gets the grid that contains the referenced row.
|
Item |
getItem()
Gets the item for the row.
|
Object |
getItemId()
Gets the item id of the row.
|
void |
set(Object itemId)
Sets the identifying information for this row
|
public RowReference(Grid grid)
grid - the grid that the row belongs topublic void set(Object itemId)
itemId - the item id of the rowpublic Grid getGrid()
public Object getItemId()
public Item getItem()
Copyright © 2023 Vaadin Ltd. All rights reserved.