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>
HasFilterableDataProvider
HasFilterableDataProvider
FluentComponent.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.Listener
com.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, setDataProvider
withItems, withItems, withItems
getDataProvider, setItems, setItems, setItems
withCaption, withEnabled, withIcon, withId, withParent, withPrimaryStyleName, withStyleName, withStyleName, withVisible
addListener, 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, writeDesign
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
withFullHeight, withFullSize, withFullWidth, withHeight, withHeight, withSize, withUndefinedHeight, withUndefinedSize, withUndefinedWidth, withWidth, withWidth
default THIS withDataProvider(com.vaadin.data.provider.DataProvider<ITEM,FILTER> dataProvider)
dataProvider
- the data provider, not null
HasFilterableDataProvider.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 null
filterConverter
- a function that converts filter values produced by this
listing into filter values expected by the provided data
provider, not null
HasFilterableDataProvider.setDataProvider(DataProvider, SerializableFunction)
Copyright © 2017 Jean-Christophe Fortier. All rights reserved.