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()
InplaceSelectgetTextInput in interface InplaceSelectTextInputComponentImplpublic ConfirmOrCancel select(ChoicePicker picker)
InplaceSelectpicker param.
In other words, it selects the first option which satisfies the choice picking rules defined in pickerselect in interface InplaceSelectpicker - for defining the rules by which the suggestion will be selectedpublic ConfirmOrCancel select(int index)
InplaceSelectselect in interface InplaceSelectindex - index of optionpublic ConfirmOrCancel select(String text)
InplaceSelecttext.select in interface InplaceSelecttext - the text of the option to be selectedCopyright © 2014 JBoss by Red Hat. All Rights Reserved.