public class RichFacesAutocomplete.SelectOrConfirmImpl extends Object implements SelectOrConfirm
| Constructor and Description |
|---|
RichFacesAutocomplete.SelectOrConfirmImpl() |
| Modifier and Type | Method and Description |
|---|---|
Autocomplete |
confirm()
Confirms previously typed value.
|
Autocomplete |
select()
Selects the first suggestion.
|
Autocomplete |
select(ChoicePicker picker)
Selects the first suggestion according to the given rules in
picker |
Autocomplete |
select(int index)
Selects the suggestion from the list of the suggestions at index.
|
Autocomplete |
select(String match)
Selects the first suggestion, which matches the given text.
|
public RichFacesAutocomplete.SelectOrConfirmImpl()
public Autocomplete confirm()
SelectOrConfirmconfirm in interface SelectOrConfirmpublic Autocomplete select()
SelectOrConfirmselect in interface SelectOrConfirmpublic Autocomplete select(ChoicePicker picker)
SelectOrConfirmpicker param.
In other words, it selects the first suggestion which satisfies the choice picking rules defined in pickerselect in interface SelectOrConfirmpicker - for defining the rules by which the suggestion will be selectedChoicePickerHelper.ByIndexChoicePicker,
ChoicePickerHelper.ByVisibleTextChoicePickerpublic Autocomplete select(int index)
SelectOrConfirmselect in interface SelectOrConfirmindex - index of suggestionpublic Autocomplete select(String match)
SelectOrConfirmselect in interface SelectOrConfirmmatch - string to match the suggestionCopyright © 2014 JBoss by Red Hat. All Rights Reserved.