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 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

      public BloodhoundConfig withLimit(int limit)
    • withDupDetector

      public BloodhoundConfig withDupDetector(de.agilecoders.wicket.jquery.util.Json.RawValue detector)
    • withSorter

      public BloodhoundConfig withSorter(de.agilecoders.wicket.jquery.util.Json.RawValue sorter)
    • withLocal

      public BloodhoundConfig withLocal(de.agilecoders.wicket.jquery.util.Json.RawValue local)
    • withPrefetch

      public BloodhoundConfig withPrefetch(Prefetch prefetch)
    • withRemote

      public BloodhoundConfig withRemote(Remote remote)
    • getPrefetch

      public Prefetch getPrefetch()
    • getRemote

      public Remote getRemote()
    • getLocal

      public de.agilecoders.wicket.jquery.util.Json.RawValue getLocal()