| Package | Description |
|---|---|
| com.foreach.across.modules.bootstrapui.elements.autosuggest |
| Modifier and Type | Method and Description |
|---|---|
AutoSuggestFormElementConfiguration.DataSet |
AutoSuggestFormElementConfiguration.DataSet.bloodhound(Consumer<ElementConfigurationMap> consumer)
Configure the basic bloodhound options.
|
static AutoSuggestFormElementConfiguration.DataSet |
AutoSuggestFormElementConfiguration.createDataSet() |
AutoSuggestFormElementConfiguration.DataSet |
AutoSuggestFormElementConfiguration.DataSet.name(String name) |
AutoSuggestFormElementConfiguration.DataSet |
AutoSuggestFormElementConfiguration.DataSet.prefetch(Consumer<ElementConfigurationMap> consumer)
Configure the prefetch options.
|
AutoSuggestFormElementConfiguration.DataSet |
AutoSuggestFormElementConfiguration.DataSet.prefetchUrl(String prefetchUrl)
Short-hand for setting the prefetch url.
|
AutoSuggestFormElementConfiguration.DataSet |
AutoSuggestFormElementConfiguration.DataSet.remote(Consumer<ElementConfigurationMap> consumer)
Configure the remote options.
|
AutoSuggestFormElementConfiguration.DataSet |
AutoSuggestFormElementConfiguration.DataSet.remoteUrl(String remoteUrl)
Short-hand for setting the remote url.
|
AutoSuggestFormElementConfiguration.DataSet |
AutoSuggestFormElementConfiguration.DataSet.setAttribute(String key,
Object value)
Set an attribute on the configuration.
|
AutoSuggestFormElementConfiguration.DataSet |
AutoSuggestFormElementConfiguration.DataSet.translate(Function<String,String> linkBuilder)
Create a new copy of this dataset, where all links have been translated using the specified builder.
|
| Modifier and Type | Method and Description |
|---|---|
AutoSuggestFormElementConfiguration |
AutoSuggestFormElementConfiguration.addDataSet(@NonNull AutoSuggestFormElementConfiguration.DataSet dataSet)
Add a dataset to the collection, if there is another dataset with that name already, it will be removed first.
|
| Modifier and Type | Method and Description |
|---|---|
static AutoSuggestFormElementConfiguration |
AutoSuggestFormElementConfiguration.withDataSet(Consumer<AutoSuggestFormElementConfiguration.DataSet> consumer)
Create a new configuration with a default dataset.
|
AutoSuggestFormElementConfiguration |
AutoSuggestFormElementConfiguration.withDataSet(String dataSetName,
Consumer<AutoSuggestFormElementConfiguration.DataSet> consumer)
Configure the dataset with the given name, if it is not yet present, it will be added first.
|
Copyright © 2020. All rights reserved.