Uses of Interface
com.vaadin.flow.function.SerializableSupplier
-
Uses of SerializableSupplier in com.vaadin.collaborationengine
Methods in com.vaadin.collaborationengine with parameters of type SerializableSupplierModifier and TypeMethodDescriptionvoid
CollaborationBinder.setTopic
(String topicId, SerializableSupplier<BEAN> initialBeanSupplier) Sets the topic to use with this binder and initializes the topic contents if not already set.
Constructors in com.vaadin.collaborationengine with parameters of type SerializableSupplierModifierConstructorDescriptionprotected
AbstractCollaborationManager
(UserInfo localUser, String topicId, SerializableSupplier<CollaborationEngine> ceSupplier) Constructs a new manager instance.
FormManager
(ConnectionContext context, UserInfo localUser, String topicId, SerializableSupplier<CollaborationEngine> ceSupplier) Creates a new manager for the provided connection context.
MessageManager
(ConnectionContext context, UserInfo localUser, String topicId, CollaborationMessagePersister persister, SerializableSupplier<CollaborationEngine> ceSupplier) Creates a new persisting manager for the given connection context.
MessageManager
(ConnectionContext context, UserInfo localUser, String topicId, SerializableSupplier<CollaborationEngine> ceSupplier) Creates a new manager for the given connection context.
PresenceManager
(ConnectionContext context, UserInfo localUser, String topicId, SerializableSupplier<CollaborationEngine> ceSupplier) Creates a new manager for the provided connection context.
Creates a new system connection context instance for the given Collaboration Engine instance.
-
Uses of SerializableSupplier in com.vaadin.flow.component.checkbox.dataview
Constructors in com.vaadin.flow.component.checkbox.dataview with parameters of type SerializableSupplierModifierConstructorDescriptionCheckboxGroupDataView
(SerializableSupplier<DataProvider<T, ?>> dataProviderSupplier, CheckboxGroup<T> checkboxGroup) Constructs a new DataView.
CheckboxGroupDataView
(SerializableSupplier<DataProvider<T, ?>> dataProviderSupplier, CheckboxGroup<T> checkboxGroup, SerializableConsumer<IdentifierProvider<T>> identifierChangedCallback) Constructs a new DataView.
CheckboxGroupListDataView
(SerializableSupplier<DataProvider<T, ?>> dataProviderSupplier, CheckboxGroup<T> checkboxGroup, SerializableBiConsumer<SerializablePredicate<T>, SerializableComparator<T>> filterOrSortingChangedCallback) Creates a new in-memory data view for Checkbox Group and verifies the passed data provider is compatible with this data view implementation.
CheckboxGroupListDataView
(SerializableSupplier<DataProvider<T, ?>> dataProviderSupplier, CheckboxGroup<T> checkboxGroup, SerializableConsumer<IdentifierProvider<T>> identifierChangedCallback, SerializableBiConsumer<SerializablePredicate<T>, SerializableComparator<T>> filterOrSortingChangedCallback) Creates a new in-memory data view for Checkbox Group and verifies the passed data provider is compatible with this data view implementation.
-
Uses of SerializableSupplier in com.vaadin.flow.component.grid
Methods in com.vaadin.flow.component.grid that return SerializableSupplierMethods in com.vaadin.flow.component.grid with parameters of type SerializableSupplierModifier and TypeMethodDescriptionprotected DataCommunicator<T>
Grid.DataCommunicatorBuilder.build
(Element element, CompositeDataGenerator<T> dataGenerator, U arrayUpdater, SerializableSupplier<ValueProvider<T, String>> uniqueKeyProviderSupplier) Build a new
DataCommunicator
object for the given Grid instance.void
GridArrayUpdater.UpdateQueueData.setHasExpandedItems
(SerializableSupplier<Boolean> hasExpandedItems) -
Uses of SerializableSupplier in com.vaadin.flow.component.listbox.dataview
Constructors in com.vaadin.flow.component.listbox.dataview with parameters of type SerializableSupplierModifierConstructorDescriptionListBoxDataView
(SerializableSupplier<? extends DataProvider<T, ?>> dataProviderSupplier, ListBoxBase listBox) Constructs a new generic data view for ListBox and verifies the passed data provider is compatible with this data view implementation.
ListBoxListDataView
(SerializableSupplier<? extends DataProvider<T, ?>> dataProviderSupplier, ListBoxBase listBox, SerializableBiConsumer<SerializablePredicate<T>, SerializableComparator<T>> filterOrSortingChangedCallback) Creates a new in-memory data view for ListBox and verifies the passed data provider is compatible with this data view implementation.
-
Uses of SerializableSupplier in com.vaadin.flow.component.radiobutton.dataview
Constructors in com.vaadin.flow.component.radiobutton.dataview with parameters of type SerializableSupplierModifierConstructorDescriptionRadioButtonGroupDataView
(SerializableSupplier<? extends DataProvider<T, ?>> dataProviderSupplier, RadioButtonGroup radioButtonGroup) Constructs a new DataView.
RadioButtonGroupDataView
(SerializableSupplier<? extends DataProvider<T, ?>> dataProviderSupplier, RadioButtonGroup radioButtonGroup, SerializableConsumer<IdentifierProvider<T>> identifierChangedCallback) Constructs a new DataView.
RadioButtonGroupListDataView
(SerializableSupplier<? extends DataProvider<T, ?>> dataProviderSupplier, RadioButtonGroup radioButtonGroup, SerializableBiConsumer<SerializablePredicate<T>, SerializableComparator<T>> filterOrSortingChangedCallback) Creates a new in-memory data view for RadioButtonGroup and verifies the passed data provider is compatible with this data view implementation.
RadioButtonGroupListDataView
(SerializableSupplier<? extends DataProvider<T, ?>> dataProviderSupplier, RadioButtonGroup radioButtonGroup, SerializableConsumer<IdentifierProvider<T>> identifierChangedCallback, SerializableBiConsumer<SerializablePredicate<T>, SerializableComparator<T>> filterOrSortingChangedCallback) Creates a new in-memory data view for RadioButtonGroup and verifies the passed data provider is compatible with this data view implementation.
-
Uses of SerializableSupplier in com.vaadin.flow.component.select.data
Constructors in com.vaadin.flow.component.select.data with parameters of type SerializableSupplierModifierConstructorDescriptionSelectDataView
(SerializableSupplier<DataProvider<T, ?>> dataProviderSupplier, Select<T> select) Constructs a new DataView.
SelectDataView
(SerializableSupplier<DataProvider<T, ?>> dataProviderSupplier, Select<T> select, SerializableConsumer<IdentifierProvider<T>> identifierChangedCallback) Constructs a new DataView.
SelectListDataView
(SerializableSupplier<DataProvider<T, ?>> dataProviderSupplier, Select<T> select, SerializableBiConsumer<SerializablePredicate<T>, SerializableComparator<T>> filterOrSortingChangedCallback) Creates a new in-memory data view for Select and verifies the passed data provider is compatible with this data view implementation.
SelectListDataView
(SerializableSupplier<DataProvider<T, ?>> dataProviderSupplier, Select<T> select, SerializableConsumer<IdentifierProvider<T>> identifierChangedCallback, SerializableBiConsumer<SerializablePredicate<T>, SerializableComparator<T>> filterOrSortingChangedCallback) Creates a new in-memory data view for Select and verifies the passed data provider is compatible with this data view implementation.
-
Uses of SerializableSupplier in com.vaadin.flow.data.binder
Methods in com.vaadin.flow.data.binder with parameters of type SerializableSupplierModifier and TypeMethodDescriptionstatic <R> Result<R>
Result.of
(SerializableSupplier<R> supplier, SerializableFunction<Exception, String> onError) Returns a Result representing the result of invoking the given supplier.
-
Uses of SerializableSupplier in com.vaadin.flow.data.provider
Fields in com.vaadin.flow.data.provider declared as SerializableSupplierModifier and TypeFieldDescriptionstatic final SerializableSupplier<Locale>
InMemoryDataProviderHelpers.CURRENT_LOCALE_SUPPLIER
Supplier that attempts to resolve a locale from the current UI.
protected SerializableSupplier<? extends DataProvider<T,
?>> AbstractDataView.dataProviderSupplier
Methods in com.vaadin.flow.data.provider with parameters of type SerializableSupplierModifier and TypeMethodDescriptionstatic <T> DataProvider<T,
String> InMemoryDataProviderHelpers.filteringByCaseInsensitiveString
(InMemoryDataProvider<T> dataProvider, ValueProvider<T, String> valueProvider, SerializableBiPredicate<String, String> predicate, SerializableSupplier<Locale> localeSupplier) Wraps a given data provider so that its filter tests the given predicate with the lower case string provided by the given value provider.
Constructors in com.vaadin.flow.data.provider with parameters of type SerializableSupplierModifierConstructorDescriptionAbstractDataView
(SerializableSupplier<? extends DataProvider<T, ?>> dataProviderSupplier, Component component) Creates a new instance of
AbstractDataView
subclass and verifies the passed data provider is compatible with this data view implementation.AbstractListDataView
(SerializableSupplier<? extends DataProvider<T, ?>> dataProviderSupplier, Component component, SerializableBiConsumer<SerializablePredicate<T>, SerializableComparator<T>> filterOrSortingChangedCallback) Creates a new instance of
AbstractListDataView
subclass and verifies the passed data provider is compatible with this data view implementation. -
Uses of SerializableSupplier in com.vaadin.flow.data.provider.hierarchy
Constructors in com.vaadin.flow.data.provider.hierarchy with parameters of type SerializableSupplierModifierConstructorDescriptionHierarchicalDataCommunicator
(CompositeDataGenerator<T> dataGenerator, HierarchicalArrayUpdater arrayUpdater, SerializableConsumer<elemental.json.JsonArray> dataUpdater, StateNode stateNode, SerializableSupplier<ValueProvider<T, String>> uniqueKeyProviderSupplier) Construct a new hierarchical data communicator backed by a
TreeDataProvider
. -
Uses of SerializableSupplier in com.vaadin.flow.data.renderer
Constructors in com.vaadin.flow.data.renderer with parameters of type SerializableSupplierModifierConstructorDescriptionComponentRenderer
(SerializableSupplier<COMPONENT> componentSupplier) Creates a new ComponentRenderer that uses the componentSupplier to generate new
Component
instances.ComponentRenderer
(SerializableSupplier<COMPONENT> componentSupplier, SerializableBiConsumer<COMPONENT, SOURCE> itemConsumer) Creates a new ComponentRenderer that uses the componentSupplier to generate new
Component
instances, and the itemConsumer to set the related items.LocalDateRenderer
(ValueProvider<SOURCE, LocalDate> valueProvider, SerializableSupplier<DateTimeFormatter> formatter) Creates a new LocalDateRenderer.
LocalDateRenderer
(ValueProvider<SOURCE, LocalDate> valueProvider, SerializableSupplier<DateTimeFormatter> formatter, String nullRepresentation) Creates a new LocalDateRenderer.
LocalDateTimeRenderer
(ValueProvider<SOURCE, LocalDateTime> valueProvider, SerializableSupplier<DateTimeFormatter> formatter) Creates a new LocalDateTimeRenderer.
LocalDateTimeRenderer
(ValueProvider<SOURCE, LocalDateTime> valueProvider, SerializableSupplier<DateTimeFormatter> formatter, String nullRepresentation) Creates a new LocalDateTimeRenderer.
-
Uses of SerializableSupplier in com.vaadin.flow.server.communication
Constructors in com.vaadin.flow.server.communication with parameters of type SerializableSupplierModifierConstructorDescriptionPwaHandler
(SerializableSupplier<PwaRegistry> pwaRegistryGetter) Creates PwaHandler from
PwaRegistry
getter. -
Uses of SerializableSupplier in com.vaadin.flow.server.frontend
Methods in com.vaadin.flow.server.frontend with parameters of type SerializableSupplierModifier and TypeMethodDescriptionvoid
FrontendToolsSettings.setAlternativeDirGetter
(SerializableSupplier<String> alternativeDirGetter) Set the installation directory if no tools are found.
Constructors in com.vaadin.flow.server.frontend with parameters of type SerializableSupplierModifierConstructorDescriptionFrontendToolsSettings
(String baseDir, SerializableSupplier<String> alternativeDirGetter) Create a tools configuration object.