public final class AutoCompleteSettings extends AjaxSettings
AutoCompleteBehavior
Modifier and Type | Field and Description |
---|---|
protected static StringSetting |
CALLBACK_URL |
protected static YuiType |
TYPE |
CALLBACK_FUNCTION
Constructor and Description |
---|
AutoCompleteSettings(IPluginConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
setCallbackUrl(String url) |
AutoCompleteSettings |
setContainerId(String containerId) |
AutoCompleteSettings |
setMaxResultsDisplayed(int maxResultsDisplayed) |
AutoCompleteSettings |
setMinQueryLength(int minQueryLength) |
AutoCompleteSettings |
setPrehighlightClassName(String className) |
AutoCompleteSettings |
setQueryDelay(double queryDelay) |
AutoCompleteSettings |
setSchemaFields(String... schemaFields) |
AutoCompleteSettings |
setSchemaMetaFields(Map<String,Object> schemaMetaFields) |
AutoCompleteSettings |
setSchemaResultList(String schemaResultList) |
AutoCompleteSettings |
setSubmitOnlyOnEnter(boolean submitOnEnter) |
AutoCompleteSettings |
setUseIFrame(boolean useIFrame) |
AutoCompleteSettings |
setUseShadow(boolean useShadow) |
setCallbackFunction
protected static final StringSetting CALLBACK_URL
protected static final YuiType TYPE
public AutoCompleteSettings(IPluginConfig config)
public void setCallbackUrl(String url)
public AutoCompleteSettings setContainerId(String containerId)
public AutoCompleteSettings setPrehighlightClassName(String className)
public AutoCompleteSettings setUseShadow(boolean useShadow)
public AutoCompleteSettings setUseIFrame(boolean useIFrame)
public AutoCompleteSettings setMaxResultsDisplayed(int maxResultsDisplayed)
public AutoCompleteSettings setMinQueryLength(int minQueryLength)
public AutoCompleteSettings setQueryDelay(double queryDelay)
public AutoCompleteSettings setSubmitOnlyOnEnter(boolean submitOnEnter)
public AutoCompleteSettings setSchemaResultList(String schemaResultList)
public AutoCompleteSettings setSchemaFields(String... schemaFields)
public AutoCompleteSettings setSchemaMetaFields(Map<String,Object> schemaMetaFields)
Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.