Class AutoCompleteSettings
- java.lang.Object
-
- org.hippoecm.frontend.plugins.yui.javascript.YuiObject
-
- org.hippoecm.frontend.plugins.yui.javascript.AjaxSettings
-
- org.hippoecm.frontend.plugins.yui.autocomplete.AutoCompleteSettings
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.util.io.IClusterable
,IAjaxSettings
public final class AutoCompleteSettings extends AjaxSettings
This class encapsulates various settings forAutoCompleteBehavior
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringSetting
CALLBACK_URL
protected static YuiType
TYPE
-
Fields inherited from class org.hippoecm.frontend.plugins.yui.javascript.AjaxSettings
CALLBACK_FUNCTION
-
-
Constructor Summary
Constructors Constructor Description AutoCompleteSettings(IPluginConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.hippoecm.frontend.plugins.yui.javascript.AjaxSettings
setCallbackFunction
-
-
-
-
Field Detail
-
CALLBACK_URL
protected static final StringSetting CALLBACK_URL
-
TYPE
protected static final YuiType TYPE
-
-
Constructor Detail
-
AutoCompleteSettings
public AutoCompleteSettings(IPluginConfig config)
-
-
Method Detail
-
setCallbackUrl
public void setCallbackUrl(String url)
-
setContainerId
public AutoCompleteSettings setContainerId(String containerId)
-
setPrehighlightClassName
public AutoCompleteSettings setPrehighlightClassName(String className)
-
setUseShadow
public AutoCompleteSettings setUseShadow(boolean useShadow)
-
setUseIFrame
public AutoCompleteSettings setUseIFrame(boolean useIFrame)
-
setMaxResultsDisplayed
public AutoCompleteSettings setMaxResultsDisplayed(int maxResultsDisplayed)
-
setMinQueryLength
public AutoCompleteSettings setMinQueryLength(int minQueryLength)
-
setQueryDelay
public AutoCompleteSettings setQueryDelay(double queryDelay)
-
setSubmitOnlyOnEnter
public AutoCompleteSettings setSubmitOnlyOnEnter(boolean submitOnEnter)
-
setSchemaResultList
public AutoCompleteSettings setSchemaResultList(String schemaResultList)
-
setSchemaFields
public AutoCompleteSettings setSchemaFields(String... schemaFields)
-
setSchemaMetaFields
public AutoCompleteSettings setSchemaMetaFields(Map<String,Object> schemaMetaFields)
-
-