Package com.vaadin.featurepack.data
Interface Item.Viewer
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
Item.Editor
- Enclosing interface:
Item
Interface implemented by viewer classes capable of using an Item as a
data source.
-
Method Summary
Modifier and TypeMethodDescriptionGets the Item serving as the data source of the viewer.voidsetItemDataSource(Item newDataSource) Sets the Item that serves as the data source of the viewer.
-
Method Details
-
setItemDataSource
Sets the Item that serves as the data source of the viewer.- Parameters:
newDataSource- The new data source Item
-
getItemDataSource
Item getItemDataSource()Gets the Item serving as the data source of the viewer.- Returns:
- data source Item
-