Package com.vaadin.featurepack.ui
Class FGrid.RowReference
java.lang.Object
com.vaadin.featurepack.ui.FGrid.RowReference
- All Implemented Interfaces:
Serializable
- Enclosing class:
FGrid
A data class which contains information which identifies a row in a
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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RowReference
Creates a new row reference for the given grid.- Parameters:
grid- the grid that the row belongs to
-
-
Method Details
-
set
Sets the identifying information for this row- Parameters:
itemId- the item id of the row
-
getGrid
Gets the grid that contains the referenced row.- Returns:
- the grid that contains referenced row
-
getItemId
Gets the item id of the row.- Returns:
- the item id of the row
-
getItem
Gets the item for the row.- Returns:
- the item for the row
-