| Package | Description |
|---|---|
| com.foreach.across.modules.bootstrapui.elements.autosuggest |
| 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.
|
AutoSuggestFormElementConfiguration |
AutoSuggestFormElement.getConfiguration() |
AutoSuggestFormElementConfiguration |
AutoSuggestFormElementConfiguration.highlight(boolean highlight)
Highlight the matching input text in the suggestions.
|
AutoSuggestFormElementConfiguration |
AutoSuggestFormElementConfiguration.minLength(int minLength)
Minimum length the input value should have before fetching suggestiong.
|
AutoSuggestFormElementConfiguration |
AutoSuggestFormElementConfiguration.removeDataSet(String dataSetName)
Remove the dataset with the given name if it is present.
|
AutoSuggestFormElementConfiguration |
AutoSuggestFormElementConfiguration.showHint(boolean showHint)
Should the textbox show a hint for auto-completion.
|
AutoSuggestFormElementConfiguration |
AutoSuggestFormElementConfiguration.translate(Function<String,String> linkBuilder)
Create a new instance of this configuration, where the links have been translated by the specified builder.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
AutoSuggestFormElementBuilder |
AutoSuggestFormElementBuilder.configuration(@NonNull AutoSuggestFormElementConfiguration configuration)
Set the configuration for the autosuggest control.
|
AutoSuggestFormElement |
AutoSuggestFormElement.setConfiguration(@NonNull AutoSuggestFormElementConfiguration configuration) |
Copyright © 2020. All rights reserved.