| Package | Description |
|---|---|
| org.odlabs.wiquery.ui.autocomplete |
| Modifier and Type | Method and Description |
|---|---|
Autocomplete<String> |
AbstractAutocompleteComponent.getAutocompleteField() |
Autocomplete<T> |
Autocomplete.setAppendTo(String appendTo)
The element passed to or selected by the appendTo option will be used as
the container for the suggested values
|
Autocomplete<T> |
Autocomplete.setChangeEvent(JsScopeUiEvent change)
After an item was selected; ui.item refers to the selected item.
|
Autocomplete<T> |
Autocomplete.setCloseEvent(JsScopeUiEvent close)
When the list is hidden - doesn't have to occur together with a change.
|
Autocomplete<T> |
Autocomplete.setDelay(int delay)
The delay in milliseconds the autocomplete waits after a keystroke to
activate itself.
|
Autocomplete<T> |
Autocomplete.setDisabled(boolean disabled)
Disables (true) or enables (false) the autocomplete.
|
Autocomplete<T> |
Autocomplete.setFocusEvent(JsScopeUiEvent focus)
Before focus is moved to an item (not selecting), ui.item refers to the
focused item.
|
Autocomplete<T> |
Autocomplete.setMinLength(int minLength)
The minimum number of characters a user has to type before the
autocomplete activates.
|
Autocomplete<T> |
Autocomplete.setOpenEvent(JsScopeUiEvent open)
After a request with the data ready, before it is actually displayed; also
indicates the suggestion menu will be opened.
|
Autocomplete<T> |
Autocomplete.setPosition(PositionOptions position)
Position of the component of the suggested values with the input field
|
Autocomplete<T> |
Autocomplete.setSearchEvent(JsScopeUiEvent search)
Before a request (source-option) is started, after minLength and delay are met.
|
Autocomplete<T> |
Autocomplete.setSelectEvent(JsScopeUiEvent select)
Triggered when an item is selected from the menu; ui.item refers to the
selected item.
|
Autocomplete<T> |
Autocomplete.setSource(AutocompleteSource source)
Defines the data to use, must be specified.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AutocompleteAjaxComponent.onBeforeRenderAutocomplete(Autocomplete<?> autocomplete)
Call in the onBeforeRender of the autocomplete behavior
|
protected void |
AutocompleteComponent.onBeforeRenderAutocomplete(Autocomplete<?> autocomplete)
Call in the onBeforeRender of the autocomplete behavior
|
protected void |
AbstractAutocompleteComponent.onBeforeRenderAutocomplete(Autocomplete<?> autocomplete)
Call in the onBeforeRender of the autocomplete behavior
|
Copyright © 2009-2012. All Rights Reserved.