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.
|
protected void |
selectWithKeys(org.openqa.selenium.WebElement foundValue) |
public RichFacesAutocomplete.SelectOrConfirmImpl()
public Autocomplete confirm()
SelectOrConfirm
confirm
in interface SelectOrConfirm
public Autocomplete select()
SelectOrConfirm
select
in interface SelectOrConfirm
public Autocomplete select(ChoicePicker picker)
SelectOrConfirm
picker param.
In other words, it selects the first suggestion which satisfies the choice picking rules defined in picker
select
in interface SelectOrConfirm
picker
- for defining the rules by which the suggestion will be selectedChoicePickerHelper.ByIndexChoicePicker
,
ChoicePickerHelper.ByVisibleTextChoicePicker
public Autocomplete select(int index)
SelectOrConfirm
select
in interface SelectOrConfirm
index
- index of suggestionpublic Autocomplete select(String match)
SelectOrConfirm
select
in interface SelectOrConfirm
match
- string to match the suggestionprotected void selectWithKeys(org.openqa.selenium.WebElement foundValue)
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.