Module wicket.bootstrap.extensions
Class BloodhoundConfig
java.lang.Object
de.agilecoders.wicket.jquery.CombinableConfig
de.agilecoders.wicket.jquery.AbstractConfig
de.agilecoders.wicket.extensions.markup.html.bootstrap.form.typeaheadV10.bloodhound.BloodhoundConfig
- All Implemented Interfaces:
de.agilecoders.wicket.jquery.Config,Serializable,IClusterable
public class BloodhoundConfig
extends de.agilecoders.wicket.jquery.AbstractConfig
Bloodhound configuration.- See Also:
-
- "https://github.com/twitter/typeahead.js/blob/master/doc/bloodhound.md"
- Serialized Form
-
Constructor Summary
ConstructorsConstructorDescriptionBloodhoundConfig(de.agilecoders.wicket.jquery.util.Json.RawValue datumTokenizer, de.agilecoders.wicket.jquery.util.Json.RawValue queryTokenizer) -
Method Summary
Modifier and TypeMethodDescriptionde.agilecoders.wicket.jquery.util.Json.RawValuegetLocal()static de.agilecoders.wicket.jquery.util.Json.RawValuestatic de.agilecoders.wicket.jquery.util.Json.RawValuewhitespaceDatumTokenizer(String param) withDupDetector(de.agilecoders.wicket.jquery.util.Json.RawValue detector) withLimit(int limit) withLocal(de.agilecoders.wicket.jquery.util.Json.RawValue local) withPrefetch(Prefetch prefetch) withRemote(Remote remote) withSorter(de.agilecoders.wicket.jquery.util.Json.RawValue sorter) Methods inherited from class de.agilecoders.wicket.jquery.AbstractConfig
all, contains, get, getString, isEmpty, newKey, put, remove, toJsonString, wrapMethods inherited from class de.agilecoders.wicket.jquery.CombinableConfig
combine, withFallback
-
Constructor Details
-
BloodhoundConfig
public BloodhoundConfig() -
BloodhoundConfig
public BloodhoundConfig(de.agilecoders.wicket.jquery.util.Json.RawValue datumTokenizer, de.agilecoders.wicket.jquery.util.Json.RawValue queryTokenizer)
-
-
Method Details
-
whitespaceDatumTokenizer
public static de.agilecoders.wicket.jquery.util.Json.RawValue whitespaceDatumTokenizer(String param) - Parameters:
param- the displayKey of suggestion objects- Returns:
- a default bloodhound datum-whitespace tokenizer
-
queryWhitespaceTokenizer
public static de.agilecoders.wicket.jquery.util.Json.RawValue queryWhitespaceTokenizer()- Returns:
- a default bloodhound query-whitespace tokenizer
-
withLimit
-
withDupDetector
-
withSorter
-
withLocal
-
withPrefetch
-
withRemote
-
getPrefetch
-
getRemote
-
getLocal
public de.agilecoders.wicket.jquery.util.Json.RawValue getLocal()
-