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 picker
picker
- for defining the rules by which the suggestion will be selectedIllegalArgumentException
- if there is no such element which satisfies the rules given by picker
ConfirmOrCancel select(int index)
index
- index of optionIllegalArgumentException
- if there is no such element with index index
ConfirmOrCancel 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 text
TextInputComponent getTextInput()
TextInputComponentImpl
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.