public abstract class AbstractAutoCompleteBehavior extends AbstractDefaultAjaxBehavior
| Modifier and Type | Field and Description |
|---|---|
static ResourceReference |
AUTOCOMPLETE_JS |
protected AutoCompleteSettings |
settings |
INDICATORINTERFACE| Constructor and Description |
|---|
AbstractAutoCompleteBehavior()
Constructor that creates an default
AutoCompleteSettings |
AbstractAutoCompleteBehavior(AutoCompleteSettings settings)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
constructSettingsJS() |
protected abstract void |
onRequest(String input,
RequestCycle requestCycle)
Callback for the ajax event generated by the javascript.
|
void |
renderHead(Component component,
IHeaderResponse response) |
protected void |
respond(AjaxRequestTarget target) |
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onBind, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, updateAjaxAttributesafterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbindbeforeRender, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onConfigure, onEvent, onException, onRemovepublic static final ResourceReference AUTOCOMPLETE_JS
protected AutoCompleteSettings settings
public AbstractAutoCompleteBehavior()
AutoCompleteSettingspublic AbstractAutoCompleteBehavior(AutoCompleteSettings settings)
settings - settings for the autocomplete listpublic void renderHead(Component component, IHeaderResponse response)
renderHead in interface IComponentAwareHeaderContributorrenderHead in class AbstractDefaultAjaxBehaviorprotected final String constructSettingsJS()
protected abstract void onRequest(String input, RequestCycle requestCycle)
input - the input entered so farrequestCycle - current request cycleprotected void respond(AjaxRequestTarget target)
respond in class AbstractDefaultAjaxBehaviorCopyright © 2006–2015 Apache Software Foundation. All rights reserved.