THIS - Self-referential generic THISITEM - The item type in the listingFILTER - The filter object typepublic interface FluentHasFilterableDataProvider<THIS extends FluentHasFilterableDataProvider<THIS,ITEM,FILTER>,ITEM,FILTER> extends com.vaadin.data.HasFilterableDataProvider<ITEM,FILTER>, FluentHasItems<THIS,ITEM>
HasFilterableDataProviderHasFilterableDataProviderFluentComponent.FluentFocusable<C extends FluentComponent.FluentFocusable<C>>com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listenercom.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener| Modifier and Type | Method and Description |
|---|---|
default <C> THIS |
withDataProvider(com.vaadin.data.provider.DataProvider<ITEM,C> dataProvider,
com.vaadin.server.SerializableFunction<FILTER,C> filterConverter)
Sets the data provider and filter converter for this listing.
|
default THIS |
withDataProvider(com.vaadin.data.provider.DataProvider<ITEM,FILTER> dataProvider)
Sets the data provider for this listing.
|
setDataProvider, setDataProviderwithItems, withItems, withItemsgetDataProvider, setItems, setItems, setItemswithCaption, withEnabled, withIcon, withId, withParent, withPrimaryStyleName, withStyleName, withStyleName, withVisibleaddListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setVisible, writeDesignaddAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlerwithFullHeight, withFullSize, withFullWidth, withHeight, withHeight, withSize, withUndefinedHeight, withUndefinedSize, withUndefinedWidth, withWidth, withWidthdefault THIS withDataProvider(com.vaadin.data.provider.DataProvider<ITEM,FILTER> dataProvider)
dataProvider - the data provider, not nullHasFilterableDataProvider.setDataProvider(DataProvider)default <C> THIS withDataProvider(com.vaadin.data.provider.DataProvider<ITEM,C> dataProvider, com.vaadin.server.SerializableFunction<FILTER,C> filterConverter)
C - the listing type to convert to FILTER typedataProvider - the data provider, not nullfilterConverter - a function that converts filter values produced by this
listing into filter values expected by the provided data
provider, not nullHasFilterableDataProvider.setDataProvider(DataProvider, SerializableFunction)Copyright © 2017 Jean-Christophe Fortier. All rights reserved.