Package | Description |
---|---|
org.apache.wicket.extensions.ajax.markup.html.autocomplete |
Modifier and Type | Field and Description |
---|---|
protected AutoCompleteSettings |
AbstractAutoCompleteBehavior.settings |
Modifier and Type | Method and Description |
---|---|
AutoCompleteSettings |
AutoCompleteSettings.setAdjustInputWidth(boolean adjustInputWidth)
Adjust the width of the autocompleter selection window to the width of the related input
field.
|
AutoCompleteSettings |
AutoCompleteSettings.setCssClassName(String cssClassName)
Sets an CSS class name to add to the autocompleter markup container
This makes it easier to have multiple autocompleters in your application with different style
and layout.
|
AutoCompleteSettings |
AutoCompleteSettings.setIgnoreBordersWhenPositioning(boolean ignoreBordersWhenPositioning)
Sets whether the popup positioning will take into account the borders of the input element
and its ancestors (by including the
clientLeft and clientTop DOM
properties in the computation). |
AutoCompleteSettings |
AutoCompleteSettings.setMaxHeightInPx(int maxHeightInPx)
Sets the maximum height in pixels of the autocomplete list.
|
AutoCompleteSettings |
AutoCompleteSettings.setMinInputLength(int minInputLength)
Set the minimum input length required to display the autocomplete list
|
AutoCompleteSettings |
AutoCompleteSettings.setParameterName(String parameterName)
Sets the name of the request parameter that will bring the value of the user input
|
AutoCompleteSettings |
AutoCompleteSettings.setPreselect(boolean preselect)
Sets whether the first item in the autocomplete list should be selected when the autocomplete
list is shown.
|
AutoCompleteSettings |
AutoCompleteSettings.setShowCompleteListOnFocusGain(boolean showCompleteListOnFocusGain)
Sets whether the list should be shown when the input field receives focus.
|
AutoCompleteSettings |
AutoCompleteSettings.setShowListOnEmptyInput(boolean showListOnEmptyInput)
Sets whether the list should be shown when the input is empty.
|
AutoCompleteSettings |
AutoCompleteSettings.setShowListOnFocusGain(boolean showListOnFocusGain)
Sets whether the list should be shown when the input field receives focus.
|
AutoCompleteSettings |
AutoCompleteSettings.setThrottleDelay(int throttleDelay)
set the throttle delay how long the browser will wait before sending a request to the browser
after the user released a key.
|
AutoCompleteSettings |
AutoCompleteSettings.setUseSmartPositioning(boolean useSmartPositioning)
Sets whether the popup positioning will take into account browser window visible area or not.
|
Modifier and Type | Method and Description |
---|---|
protected AutoCompleteBehavior<T> |
AutoCompleteTextField.newAutoCompleteBehavior(IAutoCompleteRenderer<T> renderer,
AutoCompleteSettings settings)
Factory method for autocomplete behavior that will be added to this textfield
|
Constructor and Description |
---|
AbstractAutoCompleteBehavior(AutoCompleteSettings settings)
Constructor
|
AutoCompleteBehavior(IAutoCompleteRenderer<T> renderer,
AutoCompleteSettings settings)
Constructor
|
AutoCompleteTextField(String id,
AutoCompleteSettings settings)
Constructor.
|
AutoCompleteTextField(String id,
IModel<T> model,
AutoCompleteSettings settings)
Constructor for given model.
|
AutoCompleteTextField(String id,
IModel<T> model,
Class<T> type,
AutoCompleteSettings settings)
Constructor for the given model and type.
|
AutoCompleteTextField(String id,
IModel<T> model,
Class<T> type,
IAutoCompleteRenderer<T> renderer,
AutoCompleteSettings settings)
Constructor for the given model using the given renderer.
|
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.