We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.radiobutton.
Class RadioButtonGroup.RadioButtonGroupI18n
java.lang.Object
com.vaadin.flow.component.radiobutton.RadioButtonGroup.RadioButtonGroupI18n
All Implemented Interfaces:
Enclosing class:
The internationalization properties for RadioButtonGroup
.
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the error message displayed when the field is required but empty.
setRequiredErrorMessage
(String errorMessage) Sets the error message to display when the field is required but empty.
-
Constructor Details
-
RadioButtonGroupI18n
public RadioButtonGroupI18n()
-
-
Method Details
-
getRequiredErrorMessage
Gets the error message displayed when the field is required but empty.
Returns:
the error message or
null
if not setSee Also:
-
setRequiredErrorMessage
Sets the error message to display when the field is required but empty.
Note, custom error messages set with
HasValidationProperties.setErrorMessage(String)
take priority over i18n error messages.Parameters:
errorMessage
- the error message ornull
to clear itReturns:
this instance for method chaining
See Also:
-