Interface HasDataSource
-
- All Known Implementing Classes:
AbstractFocusableListingConnector,AbstractListingConnector,AbstractMultiSelectConnector,AbstractSingleSelectConnector,CheckBoxGroupConnector,ComboBoxConnector,GridConnector,ListSelectConnector,NativeSelectConnector,RadioButtonGroupConnector,TreeGridConnector,TwinColSelectConnector
public interface HasDataSourceA marker interface for connectors that have a data source.- Since:
- 8.0
- Author:
- Vaadin Ltd.
- See Also:
DataSource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataSource<elemental.json.JsonObject>getDataSource()Gets the current data source for this Connector.voidsetDataSource(DataSource<elemental.json.JsonObject> dataSource)Sets the data source for this Connector.
-
-
-
Method Detail
-
setDataSource
void setDataSource(DataSource<elemental.json.JsonObject> dataSource)
Sets the data source for this Connector.- Parameters:
dataSource- the new data source, not null
-
getDataSource
DataSource<elemental.json.JsonObject> getDataSource()
Gets the current data source for this Connector.- Returns:
- the data source, not null
-
-