Module wicket.bootstrap.extensions
Interface Source<T>
- All Known Implementing Classes:
Bloodhound,LocalBloodhound
public interface Source<T>
Interface for a source of a Dataset
-
Method Summary
Modifier and TypeMethodDescriptiongetChoices(String input) Get an iterable of choices for the given input term.de.agilecoders.wicket.jquery.util.Json.RawValueGet the javascript function for this source.renderChoice(T choice) Render the given choice to a Javascript object, e.g
-
Method Details
-
getFunction
de.agilecoders.wicket.jquery.util.Json.RawValue getFunction()Get the javascript function for this source.- Returns:
- the javascript function used as the source of a
DataSet
-
getChoices
Get an iterable of choices for the given input term. -
renderChoice
Render the given choice to a Javascript object, e.gJson.stringify(choice);
- Returns:
- the javascript object representation of the given choice
-