Package org.primefaces.component.api
Interface InputHolder
- All Known Implementing Classes:
AutoComplete,AutoCompleteBase,Calendar,CalendarBase,CascadeSelect,CascadeSelectBase,Chips,ChipsBase,DatePicker,DatePickerBase,InputNumber,InputNumberBase,RadioButton,RadioButtonBase,SelectBooleanCheckbox,SelectBooleanCheckboxBase,SelectManyMenu,SelectManyMenuBase,SelectOneListbox,SelectOneListboxBase,SelectOneMenu,SelectOneMenuBase,Spinner,SpinnerBase,ToggleSwitch,ToggleSwitchBase,UICalendar
public interface InputHolder
InputHolder is implemented by input components who has an input field along with complex markup like spinner, autocomplete.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetLabelledBy(String id) Sets the id of the label for aria.
-
Method Details
-
getInputClientId
String getInputClientId()- Returns:
- Client id of the input element
-
getValidatableInputClientId
String getValidatableInputClientId()- Returns:
- Client id of the validatable input element
-
getLabelledBy
String getLabelledBy()- Returns:
- Client id of the label for aria
-
setLabelledBy
Sets the id of the label for aria.- Parameters:
id- the id
-