public interface InplaceSelect
| Modifier and Type | Method and Description |
|---|---|
TextInputComponent |
getTextInput()
Gets the associated text input.
|
ConfirmOrCancel |
select(ChoicePicker picker)
Selects the first option according to the given
picker |
ConfirmOrCancel |
select(int index)
Selects the option from the list of the options at index.
|
ConfirmOrCancel |
select(String text)
Selects the first option, which matches the given
text. |
ConfirmOrCancel select(ChoicePicker picker)
picker param.
In other words, it selects the first option which satisfies the choice picking rules defined in pickerpicker - for defining the rules by which the suggestion will be selectedIllegalArgumentException - if there is no such element which satisfies the rules given by pickerConfirmOrCancel select(int index)
index - index of optionIllegalArgumentException - if there is no such element with index indexConfirmOrCancel select(String text)
text.text - the text of the option to be selectedIllegalArgumentException - if there is no such element with text representation matching the given textTextInputComponent getTextInput()
TextInputComponentImplCopyright © 2016 JBoss by Red Hat. All Rights Reserved.