public class RichFacesInplaceSelect extends Object implements InplaceSelect, AdvancedVisibleComponentIteractions<RichFacesInplaceSelect.AdvancedInplaceSelectInteractions>
Modifier and Type | Class and Description |
---|---|
class |
RichFacesInplaceSelect.AdvancedInplaceSelectInteractions |
class |
RichFacesInplaceSelect.ConfirmOrCancelImpl |
Constructor and Description |
---|
RichFacesInplaceSelect() |
Modifier and Type | Method and Description |
---|---|
RichFacesInplaceSelect.AdvancedInplaceSelectInteractions |
advanced() |
TextInputComponentImpl |
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 . |
public RichFacesInplaceSelect.AdvancedInplaceSelectInteractions advanced()
advanced
in interface AdvancedInteractions<RichFacesInplaceSelect.AdvancedInplaceSelectInteractions>
public TextInputComponentImpl getTextInput()
InplaceSelect
getTextInput
in interface InplaceSelect
TextInputComponentImpl
public ConfirmOrCancel select(ChoicePicker picker)
InplaceSelect
picker param.
In other words, it selects the first option which satisfies the choice picking rules defined in picker
select
in interface InplaceSelect
picker
- for defining the rules by which the suggestion will be selectedpublic ConfirmOrCancel select(int index)
InplaceSelect
select
in interface InplaceSelect
index
- index of optionpublic ConfirmOrCancel select(String text)
InplaceSelect
text
.select
in interface InplaceSelect
text
- the text of the option to be selectedCopyright © 2015 JBoss by Red Hat. All Rights Reserved.