Module wicket.bootstrap.extensions
Class Remote
java.lang.Object
de.agilecoders.wicket.jquery.CombinableConfig
de.agilecoders.wicket.jquery.AbstractConfig
de.agilecoders.wicket.extensions.markup.html.bootstrap.form.typeaheadV10.bloodhound.Remote
- All Implemented Interfaces:
de.agilecoders.wicket.jquery.Config,Serializable,IClusterable
public class Remote
extends de.agilecoders.wicket.jquery.AbstractConfig
See https://github.com/twitter/typeahead.js/blob/master/doc/bloodhound.md#remote
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the wildcard expression.booleanisSimple()Check if this Remote instance has only a url configured.static Remoteof(CharSequence url) withAjax(de.agilecoders.wicket.jquery.AbstractConfig ajax) withFilter(de.agilecoders.wicket.jquery.util.Json.RawValue filter) withRateLimitBy(Remote.RateLimit limit) withRateLimitWait(int wait) withReplace(de.agilecoders.wicket.jquery.util.Json.RawValue replace) withUrl(CharSequence url) withWildcard(String wildcard) 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
-
Field Details
-
DEFAULT_WILDCARD
- See Also:
-
-
Constructor Details
-
Remote
-
Remote
public Remote()
-
-
Method Details
-
withUrl
-
withAjax
-
withFilter
-
withReplace
-
withRateLimitBy
-
withRateLimitWait
-
withWildcard
-
isSimple
public boolean isSimple()Check if this Remote instance has only a url configured.- Returns:
-
getWildcard
Retrieve the wildcard expression.- Returns:
-
of
-